summaryrefslogtreecommitdiff
path: root/t/t1410-reflog.sh
diff options
context:
space:
mode:
authorMatthias Lederhofer <matled@gmx.net>2007-01-19 10:49:35 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-21 07:29:49 (GMT)
commit9b088c4e394df84232cfd37aea78349a495b09c1 (patch)
treebf02a847e86a19c515373dfe02e94349cd2a8e90 /t/t1410-reflog.sh
parenta6c730644b7e1d35bd0d26962dbc978aa47d1863 (diff)
downloadgit-9b088c4e394df84232cfd37aea78349a495b09c1.zip
git-9b088c4e394df84232cfd37aea78349a495b09c1.tar.gz
git-9b088c4e394df84232cfd37aea78349a495b09c1.tar.bz2
prune: --grace=time
This option gives grace period to objects that are unreachable from the refs from getting pruned. The default value is 24 hours and may be changed using gc.prunegrace. Signed-off-by: Matthias Lederhofer <matled@gmx.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t1410-reflog.sh')
-rwxr-xr-xt/t1410-reflog.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh
index 8e8d526..0c435f9 100755
--- a/t/t1410-reflog.sh
+++ b/t/t1410-reflog.sh
@@ -96,7 +96,7 @@ test_expect_success setup '
check_have A B C D E F G H I J K L &&
- git prune &&
+ git prune --grace=off &&
check_have A B C D E F G H I J K L &&
@@ -115,7 +115,7 @@ test_expect_success rewind '
check_have A B C D E F G H I J K L &&
- git prune &&
+ git prune --grace=off &&
check_have A B C D E F G H I J K L &&
@@ -160,7 +160,7 @@ test_expect_success 'reflog expire' '
test_expect_success 'prune and fsck' '
- git prune &&
+ git prune --grace=off &&
check_fsck &&
check_have A B C D E H L &&