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

[RFC] deprecating and eventually removing "git relink"?

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 14, 2011, 00:38 UTC
Message-ID
<7v4ny7mtbx.fsf@alter.siamese.dyndns.org>

What do people think about the subject? As to the timeframe I am thinking about deprecation at v1.7.9 (late January 2012) and removal at v1.7.12 (early August 2012) [*1*].

The script more-or-less outlived its usefulness in July 2005 when packfiles were introduced.

You are better off repacking the repositories in the first place before accumulating so many loose object that linking the same ones between the repositories would give you major saving. It is theoretically possible that two repositories happen to have the same pack and it would give you saving to hardlink them together, but even in that case, the saving would not survive repacking unless they are marked with a ".keep" marker, which the script does not do anyway.

A more useful feature to attack a similar issue would be to make it easier to use "--reference" aka "objects/info/alternates". Namely:

 (1) devise a way to make it safer by allowing the repository whose
     objects are borrowed by other repositories a way to protect objects
     that it does not need but may be needed by others from repacking; and
 (2) allowing two repositories that started independently to share objects
     using the alternates mechanism after the fact.
but that is a separate issue.
[Footnote]
*1* Both dates were derived from a mechanical "9-week per release cycle".
Next: Miles Bader
Message 1 of 15 in “[RFC] deprecating and eventually removing "git relink"?”
  1. Junio C HamanoNov 14, 2011
  2. Miles BaderNov 14, 2011
  3. Junio C HamanoNov 14, 2011
  4. Chris PackhamNov 14, 2011
  5. Simon BrennerNov 14, 2011
  6. Jeff KingNov 14, 2011
  7. Junio C HamanoNov 14, 2011
  8. Jeff KingNov 14, 2011
  9. Junio C HamanoNov 14, 2011
  10. Miles BaderNov 15, 2011
  11. Phillip SusiNov 21, 2011
  12. Jeff KingNov 21, 2011
  13. Phillip SusiNov 22, 2011
  14. Junio C HamanoNov 14, 2011
  15. Miles BaderNov 15, 2011

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.