From: Junio C Hamano Date: Mon, 28 Nov 2005 06:53:20 +0000 (-0800) Subject: count-objects: make it operable from a subdirectory. X-Git-Tag: v0.99.9l^2~23^2~7 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=710b7098e28513355cbdbedbb8d9c35ce5b4a488;p=git-core%2Fgit.git count-objects: make it operable from a subdirectory. Signed-off-by: Junio C Hamano --- diff --git a/git-count-objects.sh b/git-count-objects.sh index d6e9a3221..40c58efe0 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 || { # This is not a real DC at all -- it just knows how