aboutsummaryrefslogtreecommitdiff
path: root/t/t3404-rebase-interactive.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t3404-rebase-interactive.sh')
-rwxr-xr-xt/t3404-rebase-interactive.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh
index e778dd8ae4..3e44562afa 100755
--- a/t/t3404-rebase-interactive.sh
+++ b/t/t3404-rebase-interactive.sh
@@ -31,6 +31,12 @@ Initial setup:
. "$TEST_DIRECTORY"/lib-rebase.sh
test_expect_success 'setup' '
+ # Commit dates are hardcoded to 2005, and the reflog entries will have
+ # a matching timestamp. Maintenance may thus immediately expire
+ # reflogs if it was running.
+ git config set gc.reflogExpire never &&
+ git config set gc.reflogExpireUnreachable never &&
+
git switch -C primary &&
test_commit A file1 &&
test_commit B file1 &&