1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-28 21:07:52 +01:00

git-repack -- respect -q and be quiet

git-repack was passing the -q along to pack-objects but ignoring it
itself. Correct the oversight.
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Martin Langhoff 2006-06-24 21:41:25 +12:00 committed by Junio C Hamano
parent 86378b3289
commit 1054dcd165

View file

@ -49,8 +49,9 @@ name=$(git-rev-list --objects --all $rev_list 2>&1 |
if [ -z "$name" ]; then
echo Nothing new to pack.
else
echo "Pack pack-$name created."
if test "$quiet" != '-q'; then
echo "Pack pack-$name created."
fi
mkdir -p "$PACKDIR" || exit
mv .tmp-pack-$name.pack "$PACKDIR/pack-$name.pack" &&