Steven Grimm <koreth@xxxxxxxxxxxxx> writes: > David Kastrup wrote: >> Actually, wouldn't by far the most straightforward thing be if >> git-rev-parse --git-dir always returned an absolute path (even when >> being passed a relative path in GIT_DIR)? >> > > That might also help get rid of an annoying failure mode where some > git commands (the shell script ones) fail if you cd into a git > repository via a symlink, while others (the builtins) work just fine. It might be the easiest workaround for this issue to unset PWD in git-sh-setup.sh (and git-clone.sh) where we unset CDPATH. Anybody wants to try to come up with additional test scripts to expose the problem and a patch to these two files? - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html