Fix typo in git-gc document.
authorJiang Xin <worldhello.net@gmail.com>
Thu, 16 Dec 2010 07:16:49 +0000 (15:16 +0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Dec 2010 19:53:53 +0000 (11:53 -0800)
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>
Documentation/config.txt
Documentation/git-gc.txt
index 3fd4b626fa84deb317709f11782534f36df36033..4f1e9799321380739afe96dd7ec841b768ae988b 100644 (file)
@@ -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
        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`.
 
        to enable it within all non-bare repos or it can be set to a
        boolean value.  The default is `true`.
 
index 315f07ef1c6997c98c4e446af507c3e1e4566218..a01eef6763d8c0383121019e9c33c869f0300acf 100644 (file)
@@ -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
 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.
 
 it within all non-bare repos or it can be set to a boolean value.
 This defaults to true.