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

Re: When to repack?

From
Karl Hasselström <kha@treskal.com>
Date
Feb 29, 2008, 11:47 UTC
Message-ID
<20080229114735.GA17416@diana.vm.bytemark.co.uk>
In-Reply-To
<47C7E4AD.6030509@glidos.net>
On 2008-02-29 10:55:41 +0000, Paul Gardiner wrote:
> There's advantage to repacking a repository after using
> git-fast-import. If that repacked repository is then git-pushed to
> another, is there any point in repacking the other afterwards? I'm
> guessing not, but just checking.

No, there isn't. The pack is essentially sent unmodified over the wire. (IIRC, packs were originally conceived as a way of reducing transfer bandwidth, and were later adopted for on-disk storage as well. But I might be mistaken.)

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Paul GardinerNext: Jakub Narebski
Message 2 of 4 in “When to repack?”
  1. Paul GardinerFeb 29, 2008
  2. Karl HasselströmFeb 29, 2008
  3. Jakub NarebskiFeb 29, 2008
  4. Xavier MaillardMar 1, 2008

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.