Subject: [PATCH v5 28/29] t3440: exercise trailer config mapping

From: Li Chen <[email-masked]>
Date: Wed, 22 Oct 2025 13:39:48 +0800

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 <[email-masked]>
---
 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 <[email-masked]>" &&
 	expect_trailer_msg HEAD  "first" &&
 	expect_trailer_msg HEAD^ "Initial empty commit"
 '
-- 
2.51.0