]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'mm/revision-pure-get-commit-action' into jch
authorJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2026 15:54:06 +0000 (08:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Jul 2026 15:54:06 +0000 (08:54 -0700)
commitde634877243bf3f00e6dd98622bd605440ace243
treef9c970521f6c10736911c5ebf8a504cd2eef34a3
parenteef728c46a8ba13afc11006af8fc1f4cdd4b6bcb
parentda0fb7e36e9864f7f41d3a2dd291ffd34fcec97f
Merge branch 'mm/revision-pure-get-commit-action' into jch

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
revision.c
t/t4211-line-log.sh