git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Next: Junio C Hamano
Message 1 of 2 in “Make git-repack explain what it's doing during prune”
  1. Make git-repack explain what it's doing during pruneSteven Grimm, Jan 12, 2007
  2. Junio C HamanoJan 12, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.