Skip to content

Commit 4be0c35

Browse files
jiangxingitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4a689af commit 4be0c35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ gc.packrefs::
971971
Running `git pack-refs` in a repository renders it
972972
unclonable by Git versions prior to 1.5.1.2 over dumb
973973
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`
975975
to enable it within all non-bare repos or it can be set to a
976976
boolean value. The default is `true`.
977977

Documentation/git-gc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ how long records of conflicted merge you have not resolved are
107107
kept. This defaults to 15 days.
108108

109109
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
111111
it within all non-bare repos or it can be set to a boolean value.
112112
This defaults to true.
113113

0 commit comments

Comments
 (0)