From: Junio C Hamano Date: Tue, 16 Aug 2005 23:40:03 GMT Subject: Re: [RFC PATCH] Add support for figuring out where in the git archive we are Message-ID: <7vll315u3w.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Linus Torvalds writes: > If you use the GIT_DIR environment variable approach, it assumes that all > filenames you give it are absolute and acts the way it always did before. > Comments? Like? Dislike? Comments: Wouldn't that mean git-*-scripts would not benefit from this because git-sh-setup would set GIT_DIR for you even if you don't? Even if you do not have to do discovery, it may make more sense to do the pathname translation (making them all relative to the project root) for consistency. If you can do "cd drivers && git-diff-files ../net" that would be very useful. More realistically, people would very much appreciate if stripping the leading ./ in "find . -type f -print0 | xargs -0 git-blah-command". Like: Yes, you finally saw the light ;-). Dislike: I believe I was one of the original proponent for this kind of thing, so no.