Browse Source

count-objects: make it operable from a subdirectory.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
710b7098e2
  1. 2
      git-count-objects.sh

2
git-count-objects.sh

@ -3,7 +3,7 @@ @@ -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

Loading…
Cancel
Save