summaryrefslogtreecommitdiff
path: root/t/t5710-info-alternate.sh
diff options
context:
space:
mode:
authorMatthias Lederhofer <matled@gmx.net>2007-01-19 11:49:35 +0100
committerJunio C Hamano <junkio@cox.net>2007-01-20 23:29:49 -0800
commit9b088c4e394df84232cfd37aea78349a495b09c1 (patch)
treebf02a847e86a19c515373dfe02e94349cd2a8e90 /t/t5710-info-alternate.sh
parenta6c730644b7e1d35bd0d26962dbc978aa47d1863 (diff)
downloadgit-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/t5710-info-alternate.sh')
-rwxr-xr-xt/t5710-info-alternate.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t5710-info-alternate.sh b/t/t5710-info-alternate.sh
index b9f6d96363..c30fee81f5 100755
--- a/t/t5710-info-alternate.sh
+++ b/t/t5710-info-alternate.sh
@@ -29,7 +29,7 @@ echo "Hello World" > file1 &&
git add file1 &&
git commit -m "Initial commit" file1 &&
git repack -a -d &&
-git prune'
+git prune --grace=off'
cd "$base_dir"
@@ -39,7 +39,7 @@ echo "foo bar" > file2 &&
git add file2 &&
git commit -m "next commit" file2 &&
git repack -a -d -l &&
-git prune'
+git prune --grace=off'
cd "$base_dir"
@@ -49,7 +49,7 @@ echo "Goodbye, cruel world" > file3 &&
git add file3 &&
git commit -m "one more" file3 &&
git repack -a -d -l &&
-git prune'
+git prune --grace=off'
cd "$base_dir"