Skip to content

Commit 0e30404

Browse files
committed
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 <[email protected]>
1 parent b5d72f0 commit 0e30404

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

git-repack.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ for name in $names ; do
8383
fullbases="$fullbases pack-$name"
8484
chmod a-w "$PACKTMP-$name.pack"
8585
chmod a-w "$PACKTMP-$name.idx"
86-
if test "$quiet" != '-q'; then
87-
echo "Pack pack-$name created."
88-
fi
8986
mkdir -p "$PACKDIR" || exit
9087

9188
for sfx in pack idx

0 commit comments

Comments
 (0)