From: Shawn O. Pearce <spearce@spearce.org>
Date: Fri, 19 Oct 2007 05:01:40 +0000 (-0400)
Subject: Stop displaying "Pack pack-$ID created." during git-gc
X-Git-Tag: v1.5.4-rc0~286^2~10
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e30404370c24047c5fa54b2a6c43e53629c916b;p=git

Stop displaying "Pack pack-$ID created." during git-gc

Discussion on the list tonight came to the conclusion that showing
the name of the packfile we just created during git-repack is not
a very useful message for any end-user.  For the really technical
folk who need to have the name of the newest packfile they can use
something such as `ls -t .git/objects/pack | head -2` to find the
most recently created packfile.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---

diff --git a/git-repack.sh b/git-repack.sh
index e72adc4d91..7220635c96 100755
--- a/git-repack.sh
+++ b/git-repack.sh
@@ -83,9 +83,6 @@ for name in $names ; do
 	fullbases="$fullbases pack-$name"
 	chmod a-w "$PACKTMP-$name.pack"
 	chmod a-w "$PACKTMP-$name.idx"
-	if test "$quiet" != '-q'; then
-	    echo "Pack pack-$name created."
-	fi
 	mkdir -p "$PACKDIR" || exit
 
 	for sfx in pack idx