From: David Kastrup Date: Sat, 11 Aug 2007 13:36:28 +0000 (+0200) Subject: git-sh-setup.sh: make GIT_DIR absolute X-Git-Tag: v1.5.3-rc5~13 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b2bc9a30981ace8c18d1a73b3e10153efc5c20f7?hp=b2bc9a30981ace8c18d1a73b3e10153efc5c20f7 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 Signed-off-by: Junio C Hamano ---