Re: [fixed PATCH] git-filter-branch.sh: Fix broken setting of GIT_DIR
- From
David Kastrup <dak@gnu.org>
- Date
- Aug 11, 2007, 21:04 UTC
- Message-ID
- <857io1u6ix.fsf@lola.goethe.zz>
- In-Reply-To
- <7vbqddn8zj.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <gitster@pobox.com> writes:
> I think your other patch to always give full path to the shell > scripts from git-sh-setup makes sense. Could you please make > test scripts to expose the problems you described in the message > I am replying to and add it as say t/t2050-git-dir-relative.sh?
It is actually a bit harder to trigger than I expected: if GIT_DIR is not a direct descendant of the current directory, git-rev-parse does output an absolute path. So at least for the test failure in git-commit, I have to revert to a non-run-of-the-mill setup.
-- David Kastrup, Kriemhildstr. 15, 44793 Bochum