summaryrefslogtreecommitdiff
path: root/t/t3306-notes-prune.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t3306-notes-prune.sh')
-rwxr-xr-xt/t3306-notes-prune.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t3306-notes-prune.sh b/t/t3306-notes-prune.sh
index c4282179b3..86bf909ee3 100755
--- a/t/t3306-notes-prune.sh
+++ b/t/t3306-notes-prune.sh
@@ -20,6 +20,9 @@ test_expect_success 'setup: create a few commits with notes' '
git add file3 &&
test_tick &&
git commit -m 3rd &&
+ COMMIT_FILE=.git/objects/5e/e1c35e83ea47cd3cc4f8cbee0568915fbbbd29 &&
+ test -f $COMMIT_FILE &&
+ test-chmtime =+0 $COMMIT_FILE &&
git notes add -m "Note #3"
'