* Why does git-commit --template want the template to be modified ?
@ 2012-10-30 10:53 Francis Moreau
2012-10-30 11:09 ` Tomas Carnecky
2012-10-30 11:14 ` Johannes Sixt
0 siblings, 2 replies; 4+ messages in thread
From: Francis Moreau @ 2012-10-30 10:53 UTC (permalink / raw)
To: git
Hi,
I'm using git-commit with the --template option. The template I'm
given is self sufficient for my purpose but as stated in the
documentation, git-commit wants the template to be edited otherwise it
aborts the operation.
Is it possible to change this ?
Thanks
--
Francis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Why does git-commit --template want the template to be modified ?
2012-10-30 10:53 Why does git-commit --template want the template to be modified ? Francis Moreau
@ 2012-10-30 11:09 ` Tomas Carnecky
2012-10-30 14:23 ` Francis Moreau
2012-10-30 11:14 ` Johannes Sixt
1 sibling, 1 reply; 4+ messages in thread
From: Tomas Carnecky @ 2012-10-30 11:09 UTC (permalink / raw)
To: Francis Moreau, git
On Tue, 30 Oct 2012 11:53:08 +0100, Francis Moreau <francis.moro@gmail.com> wrote:
> Hi,
>
> I'm using git-commit with the --template option. The template I'm
> given is self sufficient for my purpose but as stated in the
> documentation, git-commit wants the template to be edited otherwise it
> aborts the operation.
>
> Is it possible to change this ?
It seems you want -F instead of --template.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Why does git-commit --template want the template to be modified ?
2012-10-30 11:09 ` Tomas Carnecky
@ 2012-10-30 14:23 ` Francis Moreau
0 siblings, 0 replies; 4+ messages in thread
From: Francis Moreau @ 2012-10-30 14:23 UTC (permalink / raw)
To: Tomas Carnecky, Johannes Sixt; +Cc: git
Hi,
On Tue, Oct 30, 2012 at 12:09 PM, Tomas Carnecky
<tomas.carnecky@gmail.com> wrote:
> On Tue, 30 Oct 2012 11:53:08 +0100, Francis Moreau <francis.moro@gmail.com> wrote:
>> Hi,
>>
>> I'm using git-commit with the --template option. The template I'm
>> given is self sufficient for my purpose but as stated in the
>> documentation, git-commit wants the template to be edited otherwise it
>> aborts the operation.
>>
>> Is it possible to change this ?
>
> It seems you want -F instead of --template.
Yes, but I want git to still parse the log and sanitize it (remove
trailing whitespaces, comments ...)
I actually found that "-F --edit" is what I needed.
Thanks both for your answer.
--
Francis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Why does git-commit --template want the template to be modified ?
2012-10-30 10:53 Why does git-commit --template want the template to be modified ? Francis Moreau
2012-10-30 11:09 ` Tomas Carnecky
@ 2012-10-30 11:14 ` Johannes Sixt
1 sibling, 0 replies; 4+ messages in thread
From: Johannes Sixt @ 2012-10-30 11:14 UTC (permalink / raw)
To: Francis Moreau; +Cc: git
Am 10/30/2012 11:53, schrieb Francis Moreau:
> I'm using git-commit with the --template option. The template I'm
> given is self sufficient for my purpose but as stated in the
> documentation, git-commit wants the template to be edited otherwise it
> aborts the operation.
>
> Is it possible to change this ?
Perhaps you wanted to use --file instead of --template?
-- Hannes
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-10-30 14:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-30 10:53 Why does git-commit --template want the template to be modified ? Francis Moreau
2012-10-30 11:09 ` Tomas Carnecky
2012-10-30 14:23 ` Francis Moreau
2012-10-30 11:14 ` Johannes Sixt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).