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

Re: git-cherry-pick no longer detecting moved files in 1.5.3.4

From
Shawn O. Pearce <spearce@spearce.org>
Date
Oct 17, 2007, 00:58 UTC
Message-ID
<20071017005856.GK13801@spearce.org>
In-Reply-To
<cac9e4380710161517m64ba737dj8711a6ce59b1b69@mail.gmail.com>
Richard Quirk <richard.quirk@gmail.com> wrote:
> (Also, minor thing this, but the docs for git-config
> says it is diff.renameLimit but diff.c uses diff.renamelimit.)

Someone else already responded about how to set this limit, but I wanted to clarify what the docs vs. the code were doing here.

The docs use camelCase as it is prettier to read multiple words that useCamelCase than alllowercaselikethis. Internally when we parse your config file we lowercase the entire string so that the code can worry only about the lowercase variant. That's why you see it all lowercase in diff.c, but the docs suggest you to use the camelCase format.

-- 
Shawn.
Previous: Richard Quirk
Message 6 of 6 in “git-cherry-pick no longer detecting moved files in 1.5.3.4”
  1. Richard QuirkOct 16, 2007
  2. Michele BallabioOct 16, 2007
  3. Richard QuirkOct 17, 2007
  4. Shawn O. PearceOct 17, 2007
  5. Richard QuirkOct 17, 2007
  6. Shawn O. PearceOct 17, 2007

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.