]> git.99rst.org Git - git.git/commit
Merge branch 'mm/revision-pure-get-commit-action'
authorJunio C Hamano <redacted>
Fri, 7 Aug 2026 21:48:00 +0000 (14:48 -0700)
committerJunio C Hamano <redacted>
Fri, 7 Aug 2026 21:48:00 +0000 (14:48 -0700)
commitef11815b1ef3271f79a9e15648acb20511de63f7
treea4721f69364698235c25ad00bbb03603be76cf02
parentbabe559ffb0a3ffd8c72641d318091c36e8ef2d5
parentda0fb7e36e9864f7f41d3a2dd291ffd34fcec97f
Merge branch 'mm/revision-pure-get-commit-action'

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
git clone https://git.99rst.org/PROJECT