author | David Kastrup <dak@gnu.org> | |
Sat, 11 Aug 2007 13:36:28 +0000 (15:36 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 14 Aug 2007 04:19:48 +0000 (21:19 -0700) | ||
commit | b2bc9a30981ace8c18d1a73b3e10153efc5c20f7 | |
tree | 4c8cceb653e27c2b5d089a5f279647ec8b25c5f3 | tree | snapshot |
parent | 0476786e645ae18096d6a63de5fd4b756071b522 | commit | diff |
git-sh-setup.sh: make GIT_DIR absolute
Quite a few of the scripts are rather careless about using GIT_DIR
while changing directories.
Some try their hands (with different likelihood of success) in making
GIT_DIR absolute.
This patch lets git-sh-setup.sh cater for absolute directories (in a
way that should work reliably also with non-Unix path names) and
removes the respective kludges in git-filter-branch.sh and
git-instaweb.sh.
Signed-off-by: David Kastrup <dak@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Quite a few of the scripts are rather careless about using GIT_DIR
while changing directories.
Some try their hands (with different likelihood of success) in making
GIT_DIR absolute.
This patch lets git-sh-setup.sh cater for absolute directories (in a
way that should work reliably also with non-Unix path names) and
removes the respective kludges in git-filter-branch.sh and
git-instaweb.sh.
Signed-off-by: David Kastrup <dak@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh | diff | blob | history | |
git-instaweb.sh | diff | blob | history | |
git-sh-setup.sh | diff | blob | history |