[PATCH v5 23/29] t3440: remove redundant --keep-empty

Li Chen
2025-10-22T05:44:15Z

From: Li Chen <chenl311@chinatelecom.cn>

--keep-empty is the default these days so
we can drop that.

Signed-off-by: Li Chen <chenl311@chinatelecom.cn>
---
t/t3440-rebase-trailer.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/t3440-rebase-trailer.sh b/t/t3440-rebase-trailer.sh
index fbc6f209f1..4687be3a21 100755
--- a/t/t3440-rebase-trailer.sh
+++ b/t/t3440-rebase-trailer.sh
@@ -87,7 +87,7 @@ test_expect_success 'rebase --root --trailer updates every commit' '
create_expect initial-signed "Initial empty commit" &&
create_expect first-signed "first" &&
git checkout first &&
- git rebase --root --keep-empty \
+ git rebase --root \
--trailer "Reviewed-by: Dev <dev@example.com>" &&
test_commit_message HEAD first-signed &&
test_commit_message HEAD^ initial-signed
--
2.51.0