[PATCH] Make git-repack explain what it's doing during prune
- From
Steven Grimm <koreth@midwinter.com>
- Date
- Jan 12, 2007, 02:46 UTC
- Message-ID
- <20070112024623.GA9787@midwinter.com>
git-pack-objects reports its progress as it runs, but as soon as it finishes and git-repack (with -d option) runs git-prune-packed, the user is left in the dark about what's going on. That makes git-repack feel inconsistent: it starts off with a bunch of progress reports then appears to just sit there for a while before finishing.
Signed-off-by: Steven Grimm <koreth@midwinter.com> --- git-repack.sh | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/git-repack.sh b/git-repack.sh index 375434b..a69d915 100755 --- a/git-repack.sh +++ b/git-repack.sh @@ -110,6 +110,9 @@ then done ) fi + if test "$quiet" != '-q'; then + echo "Removing unused objects..." + fi git-prune-packed fi
-- 1.4.4.4.g1295-dirty