aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-gc.txt
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2008-01-09 17:05:16 +0100
committerJunio C Hamano <gitster@pobox.com>2008-01-09 12:25:24 -0800
commitfe2128a82608be23def04bf7fe30443553d7d264 (patch)
tree7206ccd5d445f541b9621394c3ae5d8881694286 /Documentation/git-gc.txt
parent13e4760a1649d24519f95ae2375704738b2b219e (diff)
downloadgit-fe2128a82608be23def04bf7fe30443553d7d264.tar.gz
git-fe2128a82608be23def04bf7fe30443553d7d264.tar.xz
Change git-gc documentation to reflect gc.packrefs implementation.
56752391a8c0c591853b276e4fa0b45c34ced181 (Make "git gc" pack all refs by default) changed the default of gc.packrefs to true, to pack all refs by default in any repository. IOW, the users need to disable it explicitly if they want to by setting the config variable, since 1.5.3. However, we forgot to update the documentation. This fixes it. Signed-off-by: Florian La Roche <laroche@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-gc.txt')
-rw-r--r--Documentation/git-gc.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt
index c4354bb6a..4b2dfefa6 100644
--- a/Documentation/git-gc.txt
+++ b/Documentation/git-gc.txt
@@ -90,9 +90,9 @@ how long records of conflicted merge you have not resolved are
kept. This defaults to 15 days.
The optional configuration variable 'gc.packrefs' determines if
-`git gc` runs `git-pack-refs`. Without the configuration, `git-pack-refs`
-is not run in bare repositories by default, to allow older dumb-transport
-clients fetch from the repository, but this will change in the future.
+`git gc` runs `git-pack-refs`. This can be set to "nobare" to enable
+it within all non-bare repos or it can be set to a boolean value.
+This defaults to true.
The optional configuration variable 'gc.aggressiveWindow' controls how
much time is spent optimizing the delta compression of the objects in