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

Re: [PATCH] Retire the `relink` command

From
Jeff King <peff@peff.net>
Date
Jan 25, 2017, 21:13 UTC
Message-ID
<20170125211331.ts4ohigz5z6ugj6q@sigill.intra.peff.net>
In-Reply-To
<10319c47ff3f7222c3a601827ebd9398861d509d.1485363528.git.johannes.schindelin@gmx.de>
On Wed, Jan 25, 2017 at 05:58:57PM +0100, Johannes Schindelin wrote:
Show 5 quoted lines
> Back in the olden days, when all objects were loose and rubber boots were
> made out of wood, it made sense to try to share (immutable) objects
> between repositories.
> 
> Ever since the arrival of pack files, it is but an anachronism.

Yes, this is a good idea. I could _almost_ see its utility if it linked packfiles, too, but then it is very unlikely that two repos have the exact same packfile.

> Let's move the script to the contrib/examples/ directory and no longer
> offer it.

I am OK with this, but perhaps we should go even further and just delete it entirely. The point of contrib/examples is to show people "this is how you could script plumbing to implement a porcelain". But this script does not call a single plumbing script. It just looks directly in objects/, which is probably not something we would want to encourage. :)

-Peff
Previous: Johannes SchindelinNext: Junio C Hamano
Message 2 of 5 in “Retire the `relink` command”
  1. Retire the `relink` commandJohannes Schindelin, Jan 25, 2017
  2. Jeff KingJan 25, 2017
  3. Junio C HamanoJan 25, 2017
  4. Eric WongJan 25, 2017
  5. Johannes SchindelinJan 26, 2017

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.