Thread (11 messages) flat view 11 messages, 4 authors, 2016-06-15

Re: [PATCH] merge-recursive: option to specify rename threshold

From: Kevin Ballard <hidden>
Date: 2016-06-15 22:49:38

Possibly related (same subject, not in this thread)

On Sep 27, 2010, at 4:53 PM, Jonathan Nieder wrote:
Kevin Ballard wrote:
quoted
After taking a look at this, it raises another question. -B, -M, and
-C all have optional arguments, but the long-form names don't seem
to support that.
[...]
quoted
                     if I make it support `git diff
--rename-threshold foo` that would also work, but the name doesn't
seem appropriate without the argument.
Right --- with merge-recursive the argument doesn't need to be
optional, but with git diff it does.

How about

	--detect-renames=<threshold>
	--detect-copies=<threshold>
	--detect-rewrites=<threshold>/<threshold>
Good timing, I just sent out a patch that does almost exactly this, though I went with --break-rewrites instead of --detect-rewrites.

-Kevin Ballard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help