]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'td/ref-filter-memoize-contains' into next
authorJunio C Hamano <gitster@pobox.com>
Sun, 19 Jul 2026 17:43:51 +0000 (10:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Jul 2026 17:43:51 +0000 (10:43 -0700)
commit5b640e33a1fca19c994816ccc9920bf16ecfab0c
tree65d4c2e9b22cd69e5dc86d6ac8ed2d2eb3d5e485
parent12685f410c9799a8e493f102f9474da8dfd647d7
parentff3ba7d158765f02effa417feca0a7e0089116c4
Merge branch 'td/ref-filter-memoize-contains' into next

'git branch --contains' and 'git for-each-ref --contains' have been
optimized to use the memoized commit traversal previously used only by
'git tag --contains', significantly speeding up connectivity checks
across many candidate refs with shared history.

* td/ref-filter-memoize-contains:
  commit-reach: die on contains walk errors
  ref-filter: memoize --contains with generations
  commit-reach: reject cycles in contains walk
commit-reach.c
t/t7004-tag.sh