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

still using `git pack-redundant` - alternatives?

From
MKMathijs Kwik <mathijs@bluescreen303.nl>
Date
Jun 11, 2021, 11:10 UTC
Message-ID
<CAKvOHKAFXQwt4D8yUCCkf_TQL79mYaJ=KAKhtpDNTvHJFuX1NA@mail.gmail.com>
Hi,

I have some scripts for personal automation where I use git for backups and file synchronisation between systems.

It uses some form of tiering where large files, older files, and files no longer present in branch heads, move to slower networked storage and get linked via the "alternates" mechanism.

Since repacks are too expensive most of the time, I use `git pack-redundant --all --alt-odb` to clear out "local" packs which contents have become available in an alternate.

So since pack-redundant is nominated for removal, I would like to know if there are any alternatives for this type of book-keeping. Of course I can use `git show-index` and `comm` to implement similar functionality, but using built-in facilities is less error-prone and more efficient most of the time.

Cheers, Mathijs

Next: Jeff King
Message 1 of 2 in “still using `git pack-redundant` - alternatives?”
  1. Mathijs KwikJun 11, 2021
  2. Jeff KingJun 14, 2021

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.