diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-27 22:53:20 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-28 23:13:02 -0800 |
commit | 710b7098e28513355cbdbedbb8d9c35ce5b4a488 (patch) | |
tree | 0713c13e17583fd6b71b923435ccb53782ff56d4 | |
parent | Make the rest of commands work from a subdirectory. (diff) | |
download | tgif-710b7098e28513355cbdbedbb8d9c35ce5b4a488.tar.xz |
count-objects: make it operable from a subdirectory.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-x | git-count-objects.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-count-objects.sh b/git-count-objects.sh index d6e9a3221f..40c58efe08 100755 --- a/git-count-objects.sh +++ b/git-count-objects.sh @@ -3,7 +3,7 @@ # Copyright (c) 2005 Junio C Hamano # -. git-sh-setup +GIT_DIR=`git-rev-parse --git-dir` || exit $? dc </dev/null 2>/dev/null || { # This is not a real DC at all -- it just knows how |