]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'sk/test-commit-body-helper'
authorJunio C Hamano <gitster@pobox.com>
Tue, 11 Aug 2026 17:06:59 +0000 (10:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Aug 2026 17:06:59 +0000 (10:06 -0700)
commit3307faf4c11f7601fec30efa6143f41fbc6cb243
tree162d25f7cf4e093ecceec1ff1b6f92c7278e342e
parentbf6bc2ae422832129967fd2021bc17bdb7c5a395
parent9539653b71ed1ab37302574f96544013b8829eb9
Merge branch 'sk/test-commit-body-helper'

A new test helper commit_body() has been introduced to print the
message body of a commit, and various tests have been updated to use
it instead of spelling out the command pipeline manually and losing
the exit status of the 'git cat-file' command on the upstream of the
pipe.

* sk/test-commit-body-helper:
  t: use commit_body to extract commit message bodies
  test-lib-functions: add commit_body helper
t/t3404-rebase-interactive.sh
t/t7600-merge.sh