{"thread":{"id":"26924","subject":"[PATCH] Documentation/config.txt: make truth value of numbers more explicit","startedAt":"2011-03-30T10:22:32Z","lastAt":"2011-03-30T10:22:32Z","messageCount":1,"participants":["Carlos Martín Nieto"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"164680","messageId":"1301480552-23940-1-git-send-email-cmn@elego.de","threadId":"26924","inReplyTo":null,"subject":"[PATCH] Documentation/config.txt: make truth value of numbers more explicit","fromName":"Carlos Martín Nieto","fromEmail":"cmn@elego.de","sentAt":"2011-03-30T10:22:32Z","receivedAt":"2011-03-30T10:22:32Z","isPatch":true,"sender":{"key":"cmn@elego.de","avatar":"https://avatars.githubusercontent.com/u/335443?v=4"},"body":"Change the order to 1/0 to have the same true/false order as the rest\nof the possibilities for a boolean variable in order not not confuse\nusers.\n\nSigned-off-by: Carlos Martín Nieto <cmn@elego.de>\n---\n\nThough if I read the source correctly, anything other than a 0 will\ngive a true result, but it's better if we tell people to use 1.\n\n Documentation/config.txt |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex 701fba9..1a571f4 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -62,7 +62,7 @@ Internal whitespace within a variable value is retained verbatim.\n \n The values following the equals sign in variable assign are all either\n a string, an integer, or a boolean.  Boolean values may be given as yes/no,\n-0/1, true/false or on/off.  Case is not significant in boolean values, when\n+1/0, true/false or on/off.  Case is not significant in boolean values, when\n converting value to the canonical form using '--bool' type specifier;\n 'git config' will ensure that the output is \"true\" or \"false\".\n \n-- \n1.7.4.1\n"}]}