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

Re: [PATCH] reftable: avoid initializing structs from structs

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 13, 2022, 19:15 UTC
Message-ID
<xmqqy23jh2h3.fsf@gitster.g>
In-Reply-To
<220113.86r19btv5a.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 5 quoted lines
> Would make sense to steal the compiler version etc. details from my
> <patch-1.1-7425b64c0a0-20220113T113821Z-avarab@gmail.com>. I.e. eventually
> we'll be able to change this & other code back, as nobody will care
> about that older compiler version. It worked before in the pre-image on
> a more recent xlc.

If so, wouldn't it be a better option not to worry about such an old compiler at all from the get-go? Even with an unnecessary "turn an array of structs into an array of pointers to structs", the resulting code becomes less natural to follow. And after all, this may be part of our tree but is not yet integrated with our system, no?

Thanks.
Previous: Han-Wen NienhuysNext: Junio C Hamano
Message 4 of 7 in “reftable: avoid initializing structs from structs”
  1. reftable: avoid initializing structs from structsHan-Wen Nienhuys via GitGitGadget, Jan 13, 2022
  2. Ævar Arnfjörð BjarmasonJan 13, 2022
  3. Han-Wen NienhuysJan 13, 2022
  4. Junio C HamanoJan 13, 2022
  5. Junio C HamanoJan 13, 2022
  6. Han-Wen NienhuysJan 17, 2022
  7. Junio C HamanoJan 17, 2022

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.