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