git-repack -- respect -q and be quiet
PATCH 1/1 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 <[email protected]>
--- git-repack.sh | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
git-repack.sh +3 -2
@@ -49,8 +49,9 @@ name=$(git-rev-list --objects --all $rev 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" &&
Signature · 1 line
1.4.1.rc1.g59c8