summaryrefslogtreecommitdiff
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 fc61a1a987..d6e9a3221f 100755
--- a/git-count-objects.sh
+++ b/git-count-objects.sh
@@ -3,7 +3,7 @@
# Copyright (c) 2005 Junio C Hamano
#
-. git-sh-setup || die "Not a git repository"
+. git-sh-setup
dc </dev/null 2>/dev/null || {
# This is not a real DC at all -- it just knows how