]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'sg/line-log-merge-optim' into next
authorJunio C Hamano <gitster@pobox.com>
Wed, 27 Aug 2025 01:18:17 +0000 (18:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Aug 2025 01:18:17 +0000 (18:18 -0700)
"git log -L..." compared trees of multiple parents with the tree of the
merge result in an unnecessarily inefficient way.

* sg/line-log-merge-optim:
  line-log: simplify condition checking for merge commits
  line-log: initialize diff queue in process_ranges_ordinary_commit()
  line-log: get rid of the parents array in process_ranges_merge_commit()
  line-log: avoid unnecessary tree diffs when processing merge commits


Trivial merge