diff options
author | Matthias Lederhofer <matled@gmx.net> | 2007-01-19 11:49:35 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-20 23:29:49 -0800 |
commit | 9b088c4e394df84232cfd37aea78349a495b09c1 (patch) | |
tree | bf02a847e86a19c515373dfe02e94349cd2a8e90 /t/t5400-send-pack.sh | |
parent | a6c730644b7e1d35bd0d26962dbc978aa47d1863 (diff) | |
download | git-9b088c4e394df84232cfd37aea78349a495b09c1.tar.gz |
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/t5400-send-pack.sh')
-rwxr-xr-x | t/t5400-send-pack.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh index 2c151912a3..2a55d5ae32 100755 --- a/t/t5400-send-pack.sh +++ b/t/t5400-send-pack.sh @@ -55,13 +55,13 @@ test_expect_success setup ' test_expect_success 'pack the source repository' ' git repack -a -d && - git prune + git prune --grace=off ' test_expect_success 'pack the destination repository' ' cd victim && git repack -a -d && - git prune && + git prune --grace=off && cd .. ' |