Re: [PATCH v2 1/7] Documentation/technical: add paint-down-to-common doc
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 24, 2026, 17:09 UTC
- Message-ID
- <xmqqbjczkgqm.fsf@gitster.g>
- In-Reply-To
- <19ed743bd10be5341eee040eb8070876b984773d.1782303254.git.gitgitgadget@gmail.com>
"Kristofer Karlsson via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 14 quoted lines
> From: Kristofer Karlsson <krka@spotify.com> > > Add a technical document describing the paint_down_to_common() > algorithm used for merge-base computation, covering the paint > walk, generation number regions, and termination conditions. > > Signed-off-by: Kristofer Karlsson <krka@spotify.com> > --- > Documentation/Makefile | 1 + > Documentation/technical/meson.build | 1 + > .../technical/paint-down-to-common.adoc | 114 ++++++++++++++++++ > commit-reach.c | 6 +- > 4 files changed, 121 insertions(+), 1 deletion(-) > create mode 100644 Documentation/technical/paint-down-to-common.adoc
Great write-up that very clearly and concisely explains what goes on inside the merge-base computation. Thanks for a pleasant read.