git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation: boolean value may be given by on/off

From
Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
Date
Apr 17, 2009, 20:34 UTC
Message-ID
<20090417223425.1abb78fa@gmail.com>
In-Reply-To
<7v1vrtno9z.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> ----------------------------------------------------------------
> [Stalled and may need help and prodding to go forward]
> 
> * lt/bool-on-off (Thu Apr 9 12:40:39 2009 -0700) 1 commit
>  + Allow users to un-configure rename detection
> 
> Still lacks doc updates.
>
Signed-off-by: Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
---
 Documentation/config.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 5319df5..1c64683 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -61,7 +61,7 @@ Internal whitespace within a variable value is retained verbatim.

 The values following the equals sign in variable assign are all either
 a string, an integer, or a boolean.  Boolean values may be given as yes/no,
-0/1 or true/false.  Case is not significant in boolean values, when
+0/1, true/false or on/off.  Case is not significant in boolean values, when
 converting value to the canonical form using '--bool' type specifier;
 'git-config' will ensure that the output is "true" or "false".

@@ -945,8 +945,8 @@ guitool.<name>.argprompt::
        Request a string argument from the user, and pass it to the tool
        through the 'ARGS' environment variable. Since requesting an
        argument implies confirmation, the 'confirm' option has no effect
-       if this is enabled. If the option is set to 'true', 'yes', or '1',
-       the dialog uses a built-in generic prompt; otherwise the exact
+       if this is enabled. If the option is set to 'true', 'yes', 'on' or
+       '1', the dialog uses a built-in generic prompt; otherwise the exact
        value of the variable is used.

 guitool.<name>.revprompt::
-- 
1.6.0.6
Previous: Michael Witten
Message 3 of 3 in “What's cooking in git.git (Apr 2009, #03; Wed, 15)”
  1. Junio C HamanoApr 16, 2009
  2. Michael WittenApr 16, 2009
  3. Documentation: boolean value may be given by on/offMichał Kiedrowicz, Apr 17, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.