Re: Implementing branch attributes in git config
- From
sean <seanlkml@sympatico.ca>
- Date
- May 9, 2006, 22:45 UTC
- Message-ID
- <BAYC1-PASMTP124D39CDBCFC35738102D0AEA90@CEZ.ICE>
- In-Reply-To
- <7vu07y252m.fsf@assigned-by-dhcp.cox.net>
On Tue, 09 May 2006 15:42:25 -0700 Junio C Hamano <junkio@cox.net> wrote:
Show 7 quoted lines
> sean <seanlkml@sympatico.ca> writes: > > > The syntax is: > > > > [<random string>] > > Does this mean you can have anything other than LF and ']'?
Anything but LF; how's this for ugly:
["hello Worl\]d \\backslash]
Show 7 quoted lines
> > Here's how your example would look in this style: > > > > [email.torvalds@osdl.org] > > name = Linus Torvalds > > How does a program (not a script, but git_config() users) get > that value and parse it?
The same way they do now. For instance git-repo-config processes the config file using the same get_config() + callback as usual. The only issue is that they should no longer cast everything to lower first.
Sean