{"thread":{"id":"26082","subject":"[PATCH] Fix typo in git-gc document.","startedAt":"2010-12-16T07:16:49Z","lastAt":"2010-12-16T08:38:10Z","messageCount":2,"participants":["Jiang Xin","Matthieu Moy"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"158207","messageId":"4D09BCE1.9030209@gmail.com","threadId":"26082","inReplyTo":null,"subject":"[PATCH] Fix typo in git-gc document.","fromName":"Jiang Xin","fromEmail":"worldhello.net@gmail.com","sentAt":"2010-12-16T07:16:49Z","receivedAt":"2010-12-16T07:16:49Z","isPatch":true,"sender":{"key":"worldhello.net@gmail.com","avatar":"https://avatars.githubusercontent.com/u/183860?v=4"},"body":"The variable gc.packrefs for git-gc can be set to true, false and\n\"notbare\", not \"nobare\".\n\nSigned-off-by: Jiang Xin <jiangxin@ossxp.com>\n---\n Documentation/config.txt |    2 +-\n Documentation/git-gc.txt |    2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex 3fd4b62..4f1e979 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -971,7 +971,7 @@ gc.packrefs::\n \tRunning `git pack-refs` in a repository renders it\n \tunclonable by Git versions prior to 1.5.1.2 over dumb\n \ttransports such as HTTP.  This variable determines whether\n-\t'git gc' runs `git pack-refs`. This can be set to `nobare`\n+\t'git gc' runs `git pack-refs`. This can be set to `notbare`\n \tto enable it within all non-bare repos or it can be set to a\n \tboolean value.  The default is `true`.\n \ndiff --git a/Documentation/git-gc.txt b/Documentation/git-gc.txt\nindex 315f07e..a01eef6 100644\n--- a/Documentation/git-gc.txt\n+++ b/Documentation/git-gc.txt\n@@ -107,7 +107,7 @@ how long records of conflicted merge you have not resolved are\n kept.  This defaults to 15 days.\n \n The optional configuration variable 'gc.packrefs' determines if\n-'git gc' runs 'git pack-refs'. This can be set to \"nobare\" to enable\n+'git gc' runs 'git pack-refs'. This can be set to \"notbare\" to enable\n it within all non-bare repos or it can be set to a boolean value.\n This defaults to true.\n \n-- \n1.7.3.3\n"},{"id":"158208","messageId":"vpqei9i15al.fsf@bauges.imag.fr","threadId":"26082","inReplyTo":"4D09BCE1.9030209@gmail.com","subject":"Re: [PATCH] Fix typo in git-gc document.","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2010-12-16T08:38:10Z","receivedAt":"2010-12-16T08:38:10Z","isPatch":true,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Jiang Xin <worldhello.net@gmail.com> writes:\n\n> The variable gc.packrefs for git-gc can be set to true, false and\n> \"notbare\", not \"nobare\".\n\nRight, gc.c says:\n\n\tif (!strcmp(var, \"gc.packrefs\")) {\n\t\tif (value && !strcmp(value, \"notbare\"))\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"}]}