Re: [PATCH v3 1/2] merge-recursive: option to disable renames
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Feb 17, 2016, 01:41 UTC
- Message-ID
- <CAPig+cRCKQ8Vpr11XB-MSNsjDXjMHstaEAz333nMZxuKC8xmEg@mail.gmail.com>
- In-Reply-To
- <1455671495-10908-2-git-send-email-felipegassis@gmail.com>
On Tue, Feb 16, 2016 at 8:11 PM, Felipe Gonçalves Assis <felipeg.assis@gmail.com> wrote:
Show 15 quoted lines
> The recursive strategy turns on rename detection by default. Add a > strategy option to disable rename detection even for exact renames. > > Signed-off-by: Felipe Gonçalves Assis <felipegassis@gmail.com> > --- > diff --git a/Documentation/merge-strategies.txt b/Documentation/merge-strategies.txt > @@ -81,8 +81,14 @@ no-renormalize;; > +no-renames;; > + Turn off rename detection. > + See also linkgit:git-diff[1] `--no-renames`. > + > rename-threshold=<n>;; > Controls the similarity threshold used for rename detection. > + Re-enables rename detection if disabled by a preceding > + `no-renames`.
I'm not sure that it is necessary to mention the "last one wins" rule here, but if you do so, does --no-renames documentation deserve similar treatment?
> See also linkgit:git-diff[1] `-M`.