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

Re: [PATCH] Retire the `relink` command

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 25, 2017, 21:41 UTC
Message-ID
<xmqqtw8m95sj.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20170125211331.ts4ohigz5z6ugj6q@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 20 quoted lines
> On Wed, Jan 25, 2017 at 05:58:57PM +0100, Johannes Schindelin wrote:
>
>> 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. :)

Yeah. I am OK with this patch as the first step of "first move to contrib and then remove" two step process, but I suspect we may forget to follow through.

Previous: Jeff KingNext: Eric Wong
Message 3 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.