Re: [fixed PATCH] git-filter-branch.sh: Fix broken setting of GIT_DIR
- From
Steven Grimm <koreth@midwinter.com>
- Date
- Aug 11, 2007, 12:51 UTC
- Message-ID
- <46BDB0E7.3020506@midwinter.com>
- In-Reply-To
- <858x8iw9q1.fsf@lola.goethe.zz>
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.
-Steve