]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'mm/revision-pure-get-commit-action' into jch
authorJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 17:40:43 +0000 (10:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 17:40:43 +0000 (10:40 -0700)
The get_commit_action() function has been refactored to be a pure
predicate by moving the side-effecting line-level log range folding to
simplify_commit().  This ensures that evaluating a commit's action
before the walk reaches it does not prematurely mutate its tracked
line ranges, making it safer for potential lookahead evaluations.

* mm/revision-pure-get-commit-action:
  revision: make get_commit_action() a pure predicate

1  2 
revision.c
t/t4211-line-log.sh

diff --cc revision.c
Simple merge
Simple merge