git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Make git-repack explain what it's doing during prune
@ 2007-01-12  2:46 Steven Grimm
  2007-01-12 22:55 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Grimm @ 2007-01-12  2:46 UTC (permalink / raw)
  To: git

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-12 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-12  2:46 [PATCH] Make git-repack explain what it's doing during prune Steven Grimm
2007-01-12 22:55 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).