Re: [PATCH] Add test that checkout does not overwrite entries in .git/info/exclude
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 21, 2011, 07:50 UTC
- Message-ID
- <7vsjlhhq33.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4EC9FC81.3080306@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
Show 10 quoted lines
> It is a lucky accident: it allows the distinction between "untracked but > precious" and "untracked and garbage". And it is a doubly lucky accident: > .gitignore entries are meant for files like build products, which usually > affect all consumers of a repository, whereas .git/info/exclude is > intended for personal files, which frequently are precious (think of a > TODO file). > ... > Here you are. As you can see from my commit message, IMO, this is > a very useful accident. Therefore, there is no 'test_expect_failure' > in the test script :-)
Heh.
If this is a feature, we would like a patch to Documentation/gitignore.txt as well, I think. Also I have a suspicion that this was an unintended "regression"; do you have a bisection?