Re: git-update-cache: allow dot-files
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 25, 2005, 01:11 UTC
- Message-ID
- <7v3bscrtwx.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.58.0505241748520.2307@ppc970.osdl.org>
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:
LT> Heh. There's a difference between being anal, and allowing people to shoot LT> themselves in the foot.
How about we do something like this:
(1) we keep hardcoded .git refusing as you did;
(2) we forbid GIT_DIR to be set to anything other than what
ends with "/.git", unless it is literally ".git";