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

Re: [PATCH v3 0/2] merge-recursive: option to disable renames

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Feb 17, 2016, 01:37 UTC
Message-ID
<CAPig+cRhbCRJhrOFcjY2avFZ0rQgCP-JT-6RTCiihOQB8nWeMw@mail.gmail.com>
In-Reply-To
<1455671495-10908-1-git-send-email-felipegassis@gmail.com>

On Tue, Feb 16, 2016 at 8:11 PM, Felipe Gonçalves Assis <felipeg.assis@gmail.com> wrote:

> No more renames option. rename-threshold enables renames.

Can you add some tests? Off the top of my head, I'd expect to see at least three new tests:

1. --no-renames works as expected
2. last wins in "--no-renames --rename-threshold=x"
3. last wins in "--rename-threshold=x --no-renames"
> A second optional patch is included, teaching merge-recursive to take
> "find-renames[=<n>]" as well, for consistency.
Tests should also accompany this change. A couple obvious ones:
1. --find-rename=x works as synonym for --rename-threshold=x
2. --fine-rename (without "=x") works as expected
Thanks.
Show 11 quoted lines
> Felipe Gonçalves Assis (2):
>   merge-recursive: option to disable renames
>   merge-recursive: more consistent interface
>
>  Documentation/merge-strategies.txt | 14 ++++++++++++--
>  merge-recursive.c                  | 12 +++++++++++-
>  merge-recursive.h                  |  1 +
>  3 files changed, 24 insertions(+), 3 deletions(-)
>
> --
> 2.7.1.288.gfad33a8
Previous: Eric SunshineNext: Felipe Gonçalves Assis
Message 7 of 8 in “merge-recursive: option to disable renames”
  1. 0/2 merge-recursive: option to disable renamesFelipe Gonçalves Assis, Feb 17, 2016
  2. 1/2 merge-recursive: option to disable renamesFelipe Gonçalves Assis, Feb 17, 2016
  3. Eric SunshineFeb 17, 2016
  4. Felipe Gonçalves AssisFeb 17, 2016
  5. 2/2 merge-recursive: more consistent interfaceFelipe Gonçalves Assis, Feb 17, 2016
  6. Eric SunshineFeb 17, 2016
  7. Eric SunshineFeb 17, 2016
  8. Felipe Gonçalves AssisFeb 17, 2016

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.