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>
This commit is contained in:
Shawn O. Pearce 2007-10-19 01:01:40 -04:00
parent b5d72f0a4c
commit 0e30404370

View File

@ -83,9 +83,6 @@ for name in $names ; do
fullbases="$fullbases pack-$name" fullbases="$fullbases pack-$name"
chmod a-w "$PACKTMP-$name.pack" chmod a-w "$PACKTMP-$name.pack"
chmod a-w "$PACKTMP-$name.idx" chmod a-w "$PACKTMP-$name.idx"
if test "$quiet" != '-q'; then
echo "Pack pack-$name created."
fi
mkdir -p "$PACKDIR" || exit mkdir -p "$PACKDIR" || exit
for sfx in pack idx for sfx in pack idx