From 710b7098e28513355cbdbedbb8d9c35ce5b4a488 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 27 Nov 2005 22:53:20 -0800 Subject: [PATCH] count-objects: make it operable from a subdirectory. Signed-off-by: Junio C Hamano --- git-count-objects.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2