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

Re: commit-graph paranoia performance, was Re: [ANNOUNCE] Git v2.43.0-rc1

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 13, 2023, 23:50 UTC
Message-ID
<xmqq8r7143i9.fsf@gitster.g>
In-Reply-To
<20231113205538.GA2028092@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
> Should we default GIT_COMMIT_GRAPH_PARANOIA to "0"? Yes, some operations
> might miss a breakage, but that is true of so much of Git. For day to
> day commands we generally assume that the repository is not corrupted,
> and avoid looking at any data we can. Other commands (like "commit-graph
> verify", but maybe others) would probably want to be more careful
> (either by checking this case explicitly, or by enabling the paranoia
> flag themselves).

I am obviously fine with that direction, as that was exactly the stance I took when we discussed the topic on "rev-list --missing" ;-)

Patrick?  Karthik?
Previous: Jeff KingNext: Patrick Steinhardt
Message 4 of 6 in “[ANNOUNCE] Git v2.43.0-rc1”
  1. Junio C HamanoNov 8, 2023
  2. Andy KoppeNov 10, 2023
  3. commit-graph paranoia performance, was Re: [ANNOUNCE] Git v2.43.0-rc1Jeff King, Nov 13, 2023
  4. Junio C HamanoNov 13, 2023
  5. Patrick SteinhardtNov 14, 2023
  6. Jeff KingNov 14, 2023

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.