summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2010-12-16 15:16:49 +0800
committerJunio C Hamano <gitster@pobox.com>2010-12-17 11:53:53 -0800
commit4be0c3522421329f255a1cd9021ee86519f00f96 (patch)
treecb384ad923779b831eea259e2db3304286d0015a /Documentation
parent4a689afb030c1cd5aa1c141db94bbf9dde42f05e (diff)
downloadgit-4be0c3522421329f255a1cd9021ee86519f00f96.tar.gz
Fix typo in git-gc document.
The variable gc.packrefs for git-gc can be set to true, false and "notbare", not "nobare". Signed-off-by: Jiang Xin <jiangxin@ossxp.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt2
-rw-r--r--Documentation/git-gc.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 3fd4b626fa..4f1e979932 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -971,7 +971,7 @@ gc.packrefs::
Running `git pack-refs` in a repository renders it
unclonable by Git versions prior to 1.5.1.2 over dumb
transports such as HTTP. This variable determines whether
- 'git gc' runs `git pack-refs`. This can be set to `nobare`
+ 'git gc' runs `git pack-refs`. This can be set to `notbare`
to enable it within all non-bare repos or it can be set to a
boolean value. The default is `true`.
diff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt
index 315f07ef1c..a01eef6763 100644
--- a/Documentation/git-gc.txt
+++ b/Documentation/git-gc.txt
@@ -107,7 +107,7 @@ 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'. This can be set to "nobare" to enable
+'git gc' runs 'git pack-refs'. This can be set to "notbare" to enable
it within all non-bare repos or it can be set to a boolean value.
This defaults to true.