summaryrefslogtreecommitdiff
path: root/t/t5700-clone-reference.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/t5700-clone-reference.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/t5700-clone-reference.sh')
-rwxr-xr-xt/t5700-clone-reference.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5700-clone-reference.sh b/t/t5700-clone-reference.sh
index dd9caad..ab00e8f 100755
--- a/t/t5700-clone-reference.sh
+++ b/t/t5700-clone-reference.sh
@@ -22,7 +22,7 @@ echo second > file2 &&
git add file2 &&
git commit -m addition &&
git repack -a -d &&
-git prune'
+git prune --grace=off'
cd "$base_dir"
@@ -56,7 +56,7 @@ echo third > file3 &&
git add file3 &&
git commit -m update &&
git repack -a -d &&
-git prune'
+git prune --grace=off'
cd "$base_dir"