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

Re: [StGIT RFC PATCH] Activate rename detection by default.

From
Karl Hasselström <kha@treskal.com>
Date
May 15, 2007, 18:47 UTC
Message-ID
<20070515184759.GC17851@diana.vm.bytemark.co.uk>
In-Reply-To
<b0943d9e0705150841l6fe05baajab67a16eb78e411d@mail.gmail.com>
On 2007-05-15 16:41:47 +0100, Catalin Marinas wrote:
Show 10 quoted lines
> On 05/05/07, Yann Dirson <ydirson@altern.org> wrote:
>
> > This patch uses -M when generating diffs, which then looks fine,
> > just like any other git-generated diff.
>
> I think we should only use -M for "files", "status", "show", "diff"
> but not for "export" and "mail", maybe by adding an extra parameter
> to git.diff() (or we could have this configurable or with an cmd
> line option). The reason is that I send patches that might not be
> applied with GIT.

Seems like a good idea to me: default to -M whenever the consumer is guaranteed to understand it, and have it as an option defaulting to off when we export data.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Catalin MarinasNext: Yann Dirson
Message 3 of 4 in “Activate rename detection by default.”
  1. Activate rename detection by default.Yann Dirson, May 4, 2007
  2. Catalin MarinasMay 15, 2007
  3. Karl HasselströmMay 15, 2007
  4. Yann DirsonMay 15, 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.