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

git repack and dumb protocols

From
AKAndreas Klöckner <lists@informa.tiker.net>
Date
Jun 3, 2009, 23:50 UTC
Message-ID
<200906031950.56974.lists@informa.tiker.net>
Hi there,

I've posted a git repository to the web that is an rsync copy of my development archive's .git directory, with update-server-info run on it. Now if I understand correctly, this contains a single file for every commit/file/whatever else I ever made, which is a paint over HTTP. I have then recently learned about the wonder that is git repack, which I would love to use on this repository, were it not for this comment in its manpage:

8< ---------------------------------------------------------------------- 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. 8< ----------------------------------------------------------------------

It says this relating to the '-a' option, but it makes me wonder if I'll break copies of the repo that other people have pulled if I use 'repack'? What are the possible interactions and things to keep in mind between repack and dumb protocols?

In any case, I would like to suggest that the rather ominous-sounding text in the manpage be replaced with something more concrete, i.e. "If you repack an archive that has people fetching via dumb protocols from it, X, Y, and Z will happen."

Thanks, Andreas

(please cc--not subscribed)
Next: Michael J Gruber
Message 1 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.