projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GIT 1.3.0-rc2
[git.git]
/
git-count-objects.sh
diff --git
a/git-count-objects.sh
b/git-count-objects.sh
index
d6e9a32
..
40c58ef
100755
(executable)
--- a/
git-count-objects.sh
+++ b/
git-count-objects.sh
@@
-3,7
+3,7
@@
# Copyright (c) 2005 Junio C Hamano
#
# 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
dc </dev/null 2>/dev/null || {
# This is not a real DC at all -- it just knows how