Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
repack: don't report "Nothing new to pack." if -q is given
author
Uwe Kleine-König
<ukleinek@informatik.uni-freiburg.de>
Tue, 3 Jul 2007 08:47:58 +0000
(10:47 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 4 Jul 2007 17:12:26 +0000
(10:12 -0700)
Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-repack.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
54adf37
)
diff --git
a/git-repack.sh
b/git-repack.sh
index 3644a5a4d24dbf8ef80face0395dfa776df2901d..b5c667110d31fe9e083f8b7d4db727ed63333e37 100755
(executable)
--- a/
git-repack.sh
+++ b/
git-repack.sh
@@
-66,7
+66,9
@@
args="$args $local $quiet $no_reuse$extra"
names=$(git pack-objects --non-empty --all --reflog $args </dev/null "$PACKTMP") ||
exit 1
if [ -z "$names" ]; then
- echo Nothing new to pack.
+ if test -z "$quiet"; then
+ echo Nothing new to pack.
+ fi
fi
for name in $names ; do
fullbases="$fullbases pack-$name"