Re: commit.template
- From
Boyd Stephen Smith Jr. <bss@iguanasuicide.net>
- Date
- Dec 27, 2008, 00:53 UTC
- Message-ID
- <200812261853.55464.bss@iguanasuicide.net>
- In-Reply-To
- <87hc4qscz5.fsf@jidanni.org>
On Friday 2008 December 26 18:01:18 jidanni@jidanni.org wrote:
Show 11 quoted lines
> OK, both > > >> 1) man git-config mentions > >> commit.template > > and > BSS> git commit --help tells how this configuration option is used, in the > BSS> documentation of the "-t" option. > should > > >> mention what file is being used presently
There is no file being used presently. With the "-m" or "-F" option, no template is ever used. Without those options, either the argument to "-t" or the value of commit.template is used in that order; the editor is invoked on that. Finally if neither of those are defined the editor is invoked on a new, empty file.
> as one needs a template in order to modify a template.
You aren't modifying the template with commit.template or "-t", you are specifying one. You can create one from scratch in your editor of choice.
-- Boyd Stephen Smith Jr. ,= ,-_-. =. bss@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/