path: root/
diff options
authorDavid Kastrup <>2007-08-11 13:36:28 (GMT)
committerJunio C Hamano <>2007-08-14 04:19:48 (GMT)
commitb2bc9a30981ace8c18d1a73b3e10153efc5c20f7 (patch)
tree4c8cceb653e27c2b5d089a5f279647ec8b25c5f3 /
parent0476786e645ae18096d6a63de5fd4b756071b522 (diff)
git-b2bc9a30981ace8c18d1a73b3e10153efc5c20f7.tar.bz2 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 cater for absolute directories (in a way that should work reliably also with non-Unix path names) and removes the respective kludges in and Signed-off-by: David Kastrup <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to '')
1 files changed, 1 insertions, 7 deletions
diff --git a/ b/
index cbc7418..b79c6b6 100755
--- a/
+++ b/
@@ -8,13 +8,7 @@ USAGE='[--start] [--stop] [--restart]
. git-sh-setup
-case "$GIT_DIR" in
- fqgitdir="$GIT_DIR" ;;
- fqgitdir="$PWD/$GIT_DIR" ;;
local="`git config --bool --get instaweb.local`"
httpd="`git config --get instaweb.httpd`"
browser="`git config --get instaweb.browser`"