]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'kk/commit-reach-find-all-fix'
authorJunio C Hamano <gitster@pobox.com>
Sun, 19 Jul 2026 17:42:16 +0000 (10:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Jul 2026 17:42:16 +0000 (10:42 -0700)
commit1950f4628e3973847d447e51162f61e69748ea92
treeaea3f92bad1ecf9866b8096ad053679b362afd42
parenta6d1c3516bc2a8ce060949c9e94e1bce98b9b318
parentae68032a8d0427bf90bbc316f662320d15933fdc
Merge branch 'kk/commit-reach-find-all-fix'

The early-exit optimization in 'paint_down_to_common()' has been
gated on the queue being generation-ordered, fixing a bug where
'git merge-base' (without '--all') could return incorrect results
on repositories with v1 commit graphs and clock skew.

* kk/commit-reach-find-all-fix:
  commit-reach: guard !FIND_ALL early exit with generation ordering check
  t6600: add test for merge-base early exit with clock skew
commit-reach.c
t/t6600-test-reach.sh