Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
worktree: elucidate environment variables intended for child processes
[gitweb.git]
/
git-sh-setup.sh
diff --git
a/git-sh-setup.sh
b/git-sh-setup.sh
index d968760139b0e7b9219a1602a2e646a3ed398136..94a5c6d9572b1115a6304191ba0fd0b7bbce3aea 100644
(file)
--- a/
git-sh-setup.sh
+++ b/
git-sh-setup.sh
@@
-344,7
+344,7
@@
git_dir_init () {
echo >&2 "Unable to determine absolute path of git directory"
exit 1
}
- : ${GIT_OBJECT_DIRECTORY="$
GIT_DIR/objects
"}
+ : ${GIT_OBJECT_DIRECTORY="$
(git rev-parse --git-path objects)
"}
}
if test -z "$NONGIT_OK"