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

Re: [PATCH] git config: improve documentation

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 25, 2009, 08:03 UTC
Message-ID
<7vab8baqp8.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1235512745-26814-3-git-send-email-felipe.contreras@gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 28 quoted lines
> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
> ---
>  Documentation/git-config.txt |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
> index 19a8917..b284611 100644
> --- a/Documentation/git-config.txt
> +++ b/Documentation/git-config.txt
> @@ -68,7 +68,8 @@ OPTIONS
>  
>  --add::
>  	Adds a new line to the option without altering any existing
> -	values.  This is the same as providing '^$' as the value_regex.
> +	values.  This is the same as providing '^$' as the value_regex
> +	in `--replace-all`.
>  
>  --get::
>  	Get the value for a given key (optionally filtered by a regex
> @@ -150,7 +151,7 @@ See also <<FILES>>.
>  	When the color setting for `name` is undefined, the command uses
>  	`color.ui` as fallback.
>  
> ---get-color name default::
> +--get-color name [default]::
>  
>  	Find the color configured for `name` (e.g. `color.diff.new`) and
>  	output it as the ANSI color escape sequence to the standard
Looks sane.  Dscho, can I borrow your sanity?
Previous: Felipe ContrerasNext: Johannes Schindelin
Message 5 of 12 in “Fix a bunch of pointer declarations (codestyle)”
  1. Fix a bunch of pointer declarations (codestyle)Felipe Contreras, Feb 24, 2009
  2. git add: trivial codestyle cleanupFelipe Contreras, Feb 24, 2009
  3. git config: improve documentationFelipe Contreras, Feb 24, 2009
  4. sha1_file.c: fix typoFelipe Contreras, Feb 24, 2009
  5. Junio C HamanoFeb 25, 2009
  6. Johannes SchindelinFeb 25, 2009
  7. Felipe ContrerasMay 1, 2009
  8. Junio C HamanoFeb 25, 2009
  9. Junio C HamanoFeb 25, 2009
  10. Felipe ContrerasFeb 25, 2009
  11. Junio C HamanoFeb 25, 2009
  12. Felipe ContrerasMar 7, 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.