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

Re: [PATCH] Fix capitalization of "renamelimit" in docs to agree with code

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 19, 2011, 00:51 UTC
Message-ID
<m3ty4xfkpc.fsf@localhost.localdomain>
In-Reply-To
<4EEE86AC.2030802@pcharlan.com>
Pete Harlan <pgit@pcharlan.com> writes:
Show 5 quoted lines
> Signed-off-by: Pete Harlan <pgit@pcharlan.com>
> ---
> The documentation and bash-completion have always capitalized
> "renamelimit" as "renameLimit".  The code has always lowercased the
> whole name.  Repair the docs.

Key names are *case insensitive* so we can write it in docs in a way that is more clear, like 'renameLimit'.

Code compares with lowercased key name, so that is why it uses 'renamelimit'.

Show 9 quoted lines
> @@ -2122,7 +2122,7 @@ _git_config ()
>  		diff.ignoreSubmodules
>  		diff.mnemonicprefix
>  		diff.noprefix
> -		diff.renameLimit
> +		diff.renamelimit
>  		diff.renames
>  		diff.suppressBlankEmpty
>  		diff.tool

Consitency - why you change diff.renameLimit but not diff.ignoreSubmodules?

-- 
Jakub Narebski
Previous: Pete HarlanNext: Junio C Hamano
Message 2 of 4 in “Fix capitalization of "renamelimit" in docs to agree with code”
  1. Fix capitalization of "renamelimit" in docs to agree with codePete Harlan, Dec 19, 2011
  2. Jakub NarebskiDec 19, 2011
  3. Junio C HamanoDec 19, 2011
  4. Pete HarlanDec 19, 2011

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.