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>
Jiang Xin committed
Dec 16, 2010 at 15:16 UTC
4be0c3522421329f255a1cd9021ee86519f00f96
2 files changed
+2
-2
Documentation/config.txt
+1
-1
@@ -971,7 +971,7 @@ gc.packrefs::
971
Running `git pack-refs` in a repository renders it
972
unclonable by Git versions prior to 1.5.1.2 over dumb
973
transports such as HTTP. This variable determines whether
974
- 'git gc' runs `git pack-refs`. This can be set to `nobare`
974
+ 'git gc' runs `git pack-refs`. This can be set to `notbare`
975
to enable it within all non-bare repos or it can be set to a
976
boolean value. The default is `true`.
977
Documentation/git-gc.txt
+1
-1
@@ -107,7 +107,7 @@ how long records of conflicted merge you have not resolved are
107
kept. This defaults to 15 days.
108
109
The optional configuration variable 'gc.packrefs' determines if
110
-'git gc' runs 'git pack-refs'. This can be set to "nobare" to enable
110
+'git gc' runs 'git pack-refs'. This can be set to "notbare" to enable
111
it within all non-bare repos or it can be set to a boolean value.
112
This defaults to true.
113