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

Re: What's cooking in git.git (Jul 2021, #03; Tue, 13)

From
Taylor Blau <me@ttaylorr.com>
Date
Jul 14, 2021, 20:11 UTC
Message-ID
<YO9FAwre6cj958D/@nand.local>
In-Reply-To
<xmqqmtqpzosf.fsf@gitster.g>
On Tue, Jul 13, 2021 at 06:07:12PM -0700, Junio C Hamano wrote:
Show 12 quoted lines
> * tb/midx-use-checksum (2021-06-28) 4 commits
>   (merged to 'next' on 2021-07-08 at bbaac9c721)
>  + midx: report checksum mismatches during 'verify'
>  + midx: don't reuse corrupt MIDXs when writing
>  + commit-graph: rewrite to use checksum_valid()
>  + csum-file: introduce checksum_valid()
>
>  When rebuilding the multi-pack index file reusing an existing one,
>  we used to blindly trust the existing file and ended up carrying
>  corrupted data into the updated file, which has been corrected.
>
>  Will merge to 'master'.
Thanks.

I had a moment of panic over my week off that the new code wasn't using the right hash for non-SHA-1 repositories. But we check that the hash version the file was written with matches 'the_hash_algo' at runtime, and we use 'the_hash_algo->rawsz' to determine the end of the contents, so we're all good here.

Show 8 quoted lines
> * tb/multi-pack-bitmaps (2021-06-28) 24 commits
> [...]
>
>  The reachability bitmap file used to be generated only for a single
>  pack, but now we've learned to generate bitmaps for history that
>  span across multiple packfiles.
>
>  Comments?

I would definitely appreciate some more comments, but I have only sporadically been keeping up-to-date with this series. Ævar sent some suggestions which I've been replying to today as I catch back up, but they appear mostly cosmetic (at least, the ones that I've read so far).

I think at this point I'd want a deep review from somebody familiar with bitmaps before re-rolling. Peff and I have both looked over the series exhaustively within GitHub, but the clean version submitted here should definitely be checked before merging.

I'm not in a big hurry to merge this, but there are some other good topics that are built on top (and it makes working on other bitmap related things kind of a pain since there are two choices for what to base it on).

Thanks, Taylor

Previous: Bagas SanjayaNext: Patrick Steinhardt
Message 26 of 43 in “What's cooking in git.git (Jul 2021, #03; Tue, 13)”
  1. Junio C HamanoJul 14, 2021
  2. Eric SunshineJul 14, 2021
  3. Junio C HamanoJul 14, 2021
  4. Eric SunshineJul 14, 2021
  5. Junio C HamanoJul 14, 2021
  6. Han-Wen NienhuysJul 14, 2021
  7. Ævar Arnfjörð BjarmasonJul 14, 2021
  8. Ævar Arnfjörð BjarmasonJul 14, 2021
  9. Junio C HamanoJul 14, 2021
  10. Derrick StoleeJul 14, 2021
  11. Ævar Arnfjörð BjarmasonJul 14, 2021
  12. CodingGuidelines: recommend gender-neutral descriptionJunio C Hamano, Jul 15, 2021
  13. Eric SunshineJul 15, 2021
  14. Taylor BlauJul 15, 2021
  15. Junio C HamanoJul 15, 2021
  16. Felipe ContrerasJul 16, 2021
  17. Derrick StoleeJul 15, 2021
  18. Johannes SchindelinJul 16, 2021
  19. Felipe ContrerasJul 16, 2021
  20. CodingGuidelines: recommend gender-neutral descriptionJunio C Hamano, Jul 16, 2021
  21. Derrick StoleeJul 16, 2021
  22. Ævar Arnfjörð BjarmasonJul 16, 2021
  23. Junio C HamanoJul 16, 2021
  24. Felipe ContrerasJul 16, 2021
  25. Bagas SanjayaAug 12, 2021
  26. Taylor BlauJul 14, 2021
  27. Patrick SteinhardtJul 19, 2021
  28. Felipe ContrerasJul 19, 2021
  29. Jeff KingJul 19, 2021
  30. Felipe ContrerasJul 19, 2021
  31. Patrick SteinhardtJul 19, 2021
  32. Felipe ContrerasJul 19, 2021
  33. Jeff KingJul 19, 2021
  34. Patrick SteinhardtJul 19, 2021
  35. Jeff KingJul 19, 2021
  36. Junio C HamanoJul 19, 2021
  37. Felipe ContrerasJul 19, 2021
  38. Patrick SteinhardtJul 20, 2021
  39. Felipe ContrerasJul 20, 2021
  40. t0000: fix test if run with TEST_OUTPUT_DIRECTORYPatrick Steinhardt, Jul 20, 2021
  41. Jeff KingJul 20, 2021
  42. Junio C HamanoJul 20, 2021
  43. Felipe ContrerasJul 20, 2021

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.