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

[PATCH] git-repack.txt: Clarify implications of -a for dumb protocols

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jun 9, 2009, 16:15 UTC
Message-ID
<1244564147-15918-1-git-send-email-git@drmicha.warpmail.net>
In-Reply-To
<780e0a6b0906051214t76f2bf37u96cc0b8039f63d23@mail.gmail.com>

The current text makes some users feel uneasy, worrying whether '-a' could lead to corrupt repositories. Clarify that '-a' may lead to performance issues only for dumb protocols.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
Helped-by: Stephen Boyd <bebarino@gmail.com>
 Documentation/git-repack.txt |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
index aaa8852..c9257a1 100644
--- a/Documentation/git-repack.txt
+++ b/Documentation/git-repack.txt
@@ -31,11 +31,14 @@ OPTIONS
 	Instead of incrementally packing the unpacked objects,
 	pack everything referenced into a single pack.
 	Especially useful when packing a repository that is used
-	for private development and there is no need to worry
-	about people fetching via dumb protocols from it.  Use
+	for private development. Use
 	with '-d'.  This will clean up the objects that `git prune`
 	leaves behind, but `git fsck --full` shows as
 	dangling.
++
+Note that users fetching over dumb protocols will have to fetch the
+whole new pack in order to get any contained object, no matter how many
+other objects in that pack they already have locally.
 
 -A::
 	Same as `-a`, unless '-d' is used.  Then any unreachable
-- 
1.6.3.2.278.gb6431.dirty
Previous: Stephen BoydNext: Peter Harris
Message 8 of 9 in “git repack and dumb protocols”
  1. Andreas KlöcknerJun 3, 2009
  2. git-pack.txt: Clarify implications of -a for dumb protocolsMichael J Gruber, Jun 4, 2009
  3. [PATCHv1+eps] git-repack.txt: Clarify implications of -a for dumb protocolsMichael J Gruber, Jun 4, 2009
  4. Andreas KlöcknerJun 4, 2009
  5. Stephen BoydJun 4, 2009
  6. Michael J GruberJun 5, 2009
  7. Stephen BoydJun 5, 2009
  8. git-repack.txt: Clarify implications of -a for dumb protocolsMichael J Gruber, Jun 9, 2009
  9. Peter HarrisJun 4, 2009

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.