From f65d928c94b427bee69f26be28d2fde9bb5422ab Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 22 Jan 2007 09:00:13 +0000 Subject: [PATCH] Autogenerated HTML docs for v1.5.0-rc2-g18af --- git-gc.html | 25 +++++++++++++++++++++++-- git-gc.txt | 17 ++++++++++++++++- git-prune.html | 30 ++++++++++++++++++++++++------ git-prune.txt | 9 +-------- git.html | 2 +- tutorial-2.html | 6 +++--- tutorial-2.txt | 4 ++-- 7 files changed, 70 insertions(+), 23 deletions(-) diff --git a/git-gc.html b/git-gc.html index 28112861a..3391f6627 100644 --- a/git-gc.html +++ b/git-gc.html @@ -272,7 +272,7 @@ git-gc(1) Manual Page

SYNOPSIS

-

git-gc

+

git-gc [--prune]

DESCRIPTION

@@ -284,6 +284,27 @@ created from prior invocations of git-add(1).

each repository to maintain good disk space utilization and good operating performance.

+

OPTIONS

+
+
+
+--prune +
+
+

+ Usually git-gc packs refs, expires old reflog entries, + packs loose objects, + and removes old rerere records. Removal + of unreferenced loose objects is an unsafe operation + while other git operations are in progress, so it is not + done by default. Pass this option if you want it, and only + when you know nobody else is creating new objects in the + repository at the same time (e.g. never use this option + in a cron script). +

+
+
+

Configuration

The optional configuration variable gc.reflogExpire can be @@ -323,7 +344,7 @@ kept. This defaults to 15 days.

diff --git a/git-gc.txt b/git-gc.txt index 2bcc9491a..e37758ad1 100644 --- a/git-gc.txt +++ b/git-gc.txt @@ -8,7 +8,7 @@ git-gc - Cleanup unnecessary files and optimize the local repository SYNOPSIS -------- -'git-gc' +'git-gc' [--prune] DESCRIPTION ----------- @@ -21,6 +21,21 @@ Users are encouraged to run this task on a regular basis within each repository to maintain good disk space utilization and good operating performance. +OPTIONS +------- + +--prune:: + Usually `git-gc` packs refs, expires old reflog entries, + packs loose objects, + and removes old 'rerere' records. Removal + of unreferenced loose objects is an unsafe operation + while other git operations are in progress, so it is not + done by default. Pass this option if you want it, and only + when you know nobody else is creating new objects in the + repository at the same time (e.g. never use this option + in a cron script). + + Configuration ------------- diff --git a/git-prune.html b/git-prune.html index a479f1880..bc8913320 100644 --- a/git-prune.html +++ b/git-prune.html @@ -272,7 +272,7 @@ git-prune(1) Manual Page

SYNOPSIS

-

git-prune [-n] [--grace=<time>]

+

git-prune [-n] [--] [<head>…]

DESCRIPTION

@@ -297,17 +297,35 @@ running git prune-packed.

---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. +

+
+
+<head>… +
+
+

+ In addition to objects + reachable from any of our references, keep objects + reachable from listed <head>s.

+

EXAMPLE

+
+

To prune objects not used by your repository nor another that +borrows from your repository via its +.git/objects/info/alternates:

+
+
+
$ git prune $(cd ../another && $(git-rev-parse --all))
+
+

Author

Written by Linus Torvalds <torvalds@osdl.org>

@@ -322,7 +340,7 @@ running git prune-packed.

diff --git a/git-prune.txt b/git-prune.txt index fbd344da4..a11e30309 100644 --- a/git-prune.txt +++ b/git-prune.txt @@ -8,7 +8,7 @@ git-prune - Prunes all unreachable objects from the object database SYNOPSIS -------- -'git-prune' [-n] [--grace=