Re: Implementing branch attributes in git config
- From
- Pavel Roskin <proski@gnu.org>
- Date
- May 8, 2006, 01:04 UTC
- Message-ID
- <1147050279.17371.20.camel@dv>
- In-Reply-To
- <Pine.LNX.4.64.0605071751050.3718@g5.osdl.org>
On Sun, 2006-05-07 at 17:55 -0700, Linus Torvalds wrote:
Show 14 quoted lines
> > On Sun, 7 May 2006, sean wrote: > > > > Having magic sections that prepend "branch." seems a bit suspect; > > why not just be explicit: > > > > [branch.Origin] > > URL = ... > > fetch = master > > Exactly because section (and key) names are normally not case sensitive. > > Even the documentation actually talks about "core.fileMode" and "[imap] > Folders".
Make it ["branch.Origin"]
No hardcoded "branch" prepending needed. The case sensitive name is still protected by quotes. This extends trivially to ["user.Linus"] or ["path./src/git.c"] or whatever.
-- Regards, Pavel Roskin