From: Li Chen Date: Wed, 22 Oct 2025 05:39:48 GMT Subject: [PATCH v5 28/29] t3440: exercise trailer config mapping Message-ID: <20251022053951.602605-29-me@linux.beauty> In-Reply-To: <20251022053951.602605-1-me@linux.beauty> Updated the rebase --root --trailer test to exercise trailer.review.key configuration and the --trailer= CLI form that uses an equals separator, ensuring we still add the expected Reviewed-by trailer. Signed-off-by: Li Chen --- t/t3440-rebase-trailer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t3440-rebase-trailer.sh b/t/t3440-rebase-trailer.sh index 35d2054716..d697bf558b 100755 --- a/t/t3440-rebase-trailer.sh +++ b/t/t3440-rebase-trailer.sh @@ -99,8 +99,8 @@ test_expect_success 'rebase -m --trailer adds trailer after conflicts' ' test_expect_success 'rebase --root --trailer updates every commit' ' git checkout first && - git rebase --root \ - --trailer "$REVIEWED_BY_TRAILER" && + git -c trailer.review.key=Reviewed-by rebase --root \ + --trailer=review="Dev " && expect_trailer_msg HEAD "first" && expect_trailer_msg HEAD^ "Initial empty commit" ' -- 2.51.0