DORMANTno replies

[PATCH] Make git-repack explain what it's doing during prune

From: Steven Grimm <hidden>
Date: 2016-06-15 22:42:49
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help