aboutsummaryrefslogtreecommitdiff
path: root/git-count-objects.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-count-objects.sh')
-rwxr-xr-xgit-count-objects.sh2
1 files changed, 1 insertions, 1 deletions
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 2>/dev/null || {
# This is not a real DC at all -- it just knows how