From: Junio C Hamano Date: Thu, 13 Mar 2008 07:55:29 +0000 (+0000) Subject: Autogenerated HTML docs for v1.5.4.4-537-gb75aa X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=09a926d6ec97129942cd536be658e53510becc26;p=git.git Autogenerated HTML docs for v1.5.4.4-537-gb75aa --- diff --git a/config.txt b/config.txt index c5e094a9c..bfad0e385 100644 --- a/config.txt +++ b/config.txt @@ -590,6 +590,10 @@ gc.packrefs:: at some stage, and setting this to `false` will continue to prevent `git pack-refs` from being run from `git gc`. +gc.pruneexpire:: + When `git gc` is run, it will call `prune --expire 2.weeks.ago`. + Override the grace period with this config variable. + gc.reflogexpire:: `git reflog expire` removes reflog entries older than this time; defaults to 90 days. @@ -860,7 +864,7 @@ pack.indexVersion:: whenever the corresponding pack is larger than 2 GB. Otherwise the default is 1. -pack.packSizeLimit: +pack.packSizeLimit:: The default maximum size of a pack. This setting only affects packing to a file, i.e. the git:// protocol is unaffected. It can be overridden by the `\--max-pack-size` option of diff --git a/git-config.html b/git-config.html index 9be8b83cd..5d9175011 100644 --- a/git-config.html +++ b/git-config.html @@ -1566,6 +1566,15 @@ gc.packrefs

+gc.pruneexpire +
+
+

+ When git gc is run, it will call prune --expire 2.weeks.ago. + Override the grace period with this config variable. +

+
+
gc.reflogexpire
@@ -2076,13 +2085,17 @@ pack.indexVersion the default is 1.

- -

pack.packSizeLimit: +

+pack.packSizeLimit +
+
+

The default maximum size of a pack. This setting only affects packing to a file, i.e. the git:// protocol is unaffected. It can be overridden by the --max-pack-size option of - git-repack(1).

-
+ git-repack(1). +

+
pull.octopus
@@ -2360,7 +2373,7 @@ web.browser diff --git a/git-gc.html b/git-gc.html index 221881655..5814d4b14 100644 --- a/git-gc.html +++ b/git-gc.html @@ -272,7 +272,7 @@ git-gc(1) Manual Page

SYNOPSIS

-

git-gc [--prune] [--aggressive] [--auto] [--quiet]

+

git-gc [--aggressive] [--auto] [--quiet]

DESCRIPTION

@@ -289,22 +289,6 @@ operating performance. Some git commands may automatically run
---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). -

-
-
--aggressive
@@ -380,6 +364,9 @@ the repository when the --aggressive option is specified. The larger the value, the more time is spent optimizing the delta compression. See the documentation for the --window' option in git-repack(1) for more details. This defaults to 10.

+

The optional configuration variable gc.pruneExpire controls how old +the unreferenced loose objects have to be before they are pruned. The +default is "2 weeks ago".

See Also

@@ -398,7 +385,7 @@ more details. This defaults to 10.

diff --git a/git-gc.txt b/git-gc.txt index 2e7be916a..229a7c9b3 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' [--prune] [--aggressive] [--auto] [--quiet] +'git-gc' [--aggressive] [--auto] [--quiet] DESCRIPTION ----------- @@ -25,17 +25,6 @@ operating performance. Some git commands may automatically run 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). - --aggressive:: Usually 'git-gc' runs very quickly while providing good disk space utilization and performance. This option will cause @@ -104,6 +93,10 @@ the value, the more time is spent optimizing the delta compression. See the documentation for the --window' option in linkgit:git-repack[1] for more details. This defaults to 10. +The optional configuration variable 'gc.pruneExpire' controls how old +the unreferenced loose objects have to be before they are pruned. The +default is "2 weeks ago". + See Also -------- linkgit:git-prune[1]