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

Re: [PATCH] fast-export: factor out print_oid()

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 17, 2020, 22:53 UTC
Message-ID
<xmqqd03ozxy6.fsf@gitster.c.googlers.com>
In-Reply-To
<20200817220843.GA1858228@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 23 quoted lines
> On Sat, Aug 15, 2020 at 09:14:49AM +0200, René Scharfe wrote:
>
>> > I think this is a bad direction unless you're going to do it for all of
>> > the other anonymize_*() functions, as well, for consistency. And there
>> > it gets tricky because the caller is able to use the anonymizing
>> > knowledge in more places.
>> >
>> > I actually liked your original version better.
>> 
>> OK, how about embracing the static and do something like this?
>> 
>> -- >8 --
>> Subject: [PATCH] fast-export: add format_oid() and format_path()
>
> TBH, I don't find it an improvement because of the extra buffer
> handling. But I admit that I don't really care between any of the
> solutions posted here. They all appear to be correct, and just trading
> off various properties so that none is definitively better than the
> other. (And none of them is so bad that I feel compelled to avoid it).
>
> So I'd be OK with any of them (or leaving it as-is).
>
> -Peff

I've marked it as "retracted" per https://lore.kernel.org/git/6e2d4472-8293-4f10-0ba6-82ae83f7a465@web.de/

Thanks.
Previous: Jeff KingNext: Junio C Hamano
Message 9 of 10 in “fast-export: factor out print_oid()”
  1. fast-export: factor out print_oid()René Scharfe, Aug 13, 2020
  2. Jeff KingAug 13, 2020
  3. René ScharfeAug 13, 2020
  4. Taylor BlauAug 13, 2020
  5. René ScharfeAug 13, 2020
  6. Jeff KingAug 13, 2020
  7. René ScharfeAug 15, 2020
  8. Jeff KingAug 17, 2020
  9. Junio C HamanoAug 17, 2020
  10. Junio C HamanoAug 13, 2020

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.