From: Pavel Roskin Date: Mon, 08 May 2006 01:04:39 GMT Subject: Re: Implementing branch attributes in git config Message-ID: <1147050279.17371.20.camel@dv> In-Reply-To: On Sun, 2006-05-07 at 17:55 -0700, Linus Torvalds wrote: > > 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