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

Re: [RESEND PATCHv2] contrib: remove git-convert-objects

From
Stefan Beller <sbeller@google.com>
Date
Jan 19, 2017, 21:55 UTC
Message-ID
<CAGZ79kam9ACf+xa3nvHT2KYqPR6qPM4ohKt7gtEv21-rmBdEuw@mail.gmail.com>
In-Reply-To
<xmqqo9z2zs2o.fsf@gitster.mtv.corp.google.com>
On Thu, Jan 19, 2017 at 12:57 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 14 quoted lines
> Stefan Beller <sbeller@google.com> writes:
>
>> git-convert-objects, originally named git-convert-cache was used in
>> early 2005 to convert to a new repository format, e.g. adding an author
>> date.
>
> I think this description is not wrong per-se but misses the much
> more important point.  In the very early days of Git, the objects
> were named after SHA-1 of deflated loose object representation,
> which meant that tweak in zlib or change of compression level would
> give the same object different names X-<.  This program was to
> convert an ancient history with these objects and rewrite them to
> match the new object naming scheme where the name comes from a hash
> of the inflated representation.
ok, in case I reroll again, I'll fixup the message.
Show 7 quoted lines
>
>> By now the need for conversion of the very early repositories is less
>> relevant, we no longer need to keep it in contrib; remove it.
>
> I am not sure if removal of it matters, and I suspect that we saw no
> reaction from anybody because nobody thought it deserves the
> brain-cycle to decide whether to remove it.  I dunno.
I do think removing this would improve contrib/, not just because
it would better align with contribs mission statement in its README, but
also for other reasons. Why would a user look into contrib/ at all?
* to find interesting contemporary bits and pieces
* if they want to find old stuff for educational purposes, they ought to
  be looking into contrib/examples instead.

So maybe instead of this patch, just move it to the examples section? (That way we archive the same goal: a cleaner, fresher contrib/ that doesn't look as stale)

Thanks, Stefan

Previous: Junio C Hamano
Message 4 of 4 in “contrib: remove git-convert-objects”
  1. contrib: remove git-convert-objectsStefan Beller, Dec 28, 2016
  2. [RESEND PATCHv2] contrib: remove git-convert-objectsStefan Beller, Jan 19, 2017
  3. Junio C HamanoJan 19, 2017
  4. Stefan BellerJan 19, 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.