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

Re: git show doesn't respect config: diff.renames=copies

From
Jeff King <peff@peff.net>
Date
Aug 6, 2008, 14:06 UTC
Message-ID
<20080806140602.GA20423@sigill.intra.peff.net>
In-Reply-To
<20080806114340.GA24552@cuci.nl>
On Wed, Aug 06, 2008 at 01:43:40PM +0200, Stephen R. van den Berg wrote:
> What do I need to enter in /etc/gitconfig to get all commands that
> deal with diffs of some kind to honour renames=copies ?

$ git grep -A3 diff.renames config.txt:diff.renames:: config.txt- Tells git to detect renames. If set to any boolean value, it config.txt- will enable basic rename detection. If set to "copies" or config.txt- "copy", it will detect copies, as well.

-Peff
Previous: Stephen R. van den BergNext: Björn Steinbrink
Message 2 of 4 in “git show doesn't respect config: diff.renames=copies”
  1. Stephen R. van den BergAug 6, 2008
  2. Jeff KingAug 6, 2008
  3. Björn SteinbrinkAug 6, 2008
  4. Jeff KingAug 6, 2008

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.