From 710b7098e28513355cbdbedbb8d9c35ce5b4a488 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 27 Nov 2005 22:53:20 -0800 Subject: count-objects: make it operable from a subdirectory. Signed-off-by: Junio C Hamano diff --git a/git-count-objects.sh b/git-count-objects.sh index d6e9a32..40c58ef 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 -- cgit v0.10.2-6-g49f6