X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-count-objects.sh;h=40c58efe0884a2431146bdd3dd12910033e5f182;hb=8f5ff31f8e74ac2f72c3c415beb2639bc36f7cb7;hp=d6e9a3221f1f63142d9490e9abdfc5c8ac8d6348;hpb=ae2b0f15180d4b044828c836bcab6a990efa5c8e;p=git.git diff --git a/git-count-objects.sh b/git-count-objects.sh index d6e9a322..40c58efe 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