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 /Documentation/git-prune.txt | |
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 'Documentation/git-prune.txt')
-rw-r--r-- | Documentation/git-prune.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/git-prune.txt b/Documentation/git-prune.txt index a11e303094..fbd344da40 100644 --- a/Documentation/git-prune.txt +++ b/Documentation/git-prune.txt @@ -8,7 +8,7 @@ git-prune - Prunes all unreachable objects from the object database SYNOPSIS -------- -'git-prune' [-n] [--] [<head>...] +'git-prune' [-n] [--grace=<time>] DESCRIPTION ----------- @@ -28,6 +28,12 @@ OPTIONS Do not remove anything; just report what it would remove. +--grace=<time>:: + Do not prune loose objects that are younger than the + specified time. This gives a grace period to newly + created objects from getting pruned. + +//////////////////////////////////////////// \--:: Do not interpret any more arguments as options. @@ -46,6 +52,7 @@ borrows from your repository via its ------------ $ git prune $(cd ../another && $(git-rev-parse --all)) ------------ +//////////////////////////////////////////// Author ------ |