Re: Implementing branch attributes in git config
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 8, 2006, 23:40 UTC
- Message-ID
- <Pine.LNX.4.63.0605090137160.5755@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <Pine.LNX.4.64.0605081905240.6713@iabervon.org>
Hi,
On Mon, 8 May 2006, Daniel Barkalow wrote:
> You could tell people always to use: > > [branch."name"]
I find this utterly ugly.
Show 6 quoted lines
> I don't think that people are likely to use older versions of git on the > same repository they've used newer versions on. (Clones of it, sure, but > that doesn't matter here.) But we should, in any case, make the code > ignore sections or lines with syntax errors, under the assumption that > they're a later extension and possibly legal but not anything the code > could be interested in getting from a parser that doesn't support them.
I have to bisect git sometimes, just because I have some local changes. Older gits do barf with a fatal error when encountering a bad config.
Further, it is probably not a good idea to relax error-checking. It is too easy to overlook.
Ciao, Dscho