]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-count-objects.sh
Fix nasty approxidate bug
[thirdparty/git.git] / git-count-objects.sh
index d6e9a3221f1f63142d9490e9abdfc5c8ac8d6348..40c58efe0884a2431146bdd3dd12910033e5f182 100755 (executable)
@@ -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