Re: git-update-cache: allow dot-files
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 25, 2005, 00:52 UTC
- Message-ID
- <Pine.LNX.4.58.0505241748520.2307@ppc970.osdl.org>
- In-Reply-To
- <7v8y24taai.fsf@assigned-by-dhcp.cox.net>
On Tue, 24 May 2005, Junio C Hamano wrote:
Show 7 quoted lines
> >>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes: > > LT> I considered it, but it's so much easier to allow things > LT> later than deny them, that I preferred being anal about it. > > That is not the point. GIT_DIR set to "GIT" would happily suck > index file in. You are not being anal enough.
Heh. There's a difference between being anal, and allowing people to shoot themselves in the foot.
I'll happily allow people who _try_ to do stupid things to do them ;)
It's the
find . -type f | cut -d/ -f2- | xargs git-update-cache --add --
kinds of "unintentionally stupid" scripts I want to avoid (and the reason I do that is because that's basically _exactly_ the script I used when testing something ;)
Linus