Re: commit.template

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 2008 December 26 18:01:18 jidanni@xxxxxxxxxxx wrote:
> 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@xxxxxxxxxxxxxxxxx                     ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.net/                      \_/     

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux