Thread (10 messages) 10 messages, 4 authors, 2016-06-15

Re: [PATCH 1/2] [RFC] Use --find- instead of --detect- as prefix for long forms of -M and -C.

flat view

From: Yann Dirson <hidden>
Date: 2016-06-15 22:50:01

On Thu, Nov 11, 2010 at 11:24:57PM +0100, Thomas Rast wrote:
Yann Dirson wrote:
quoted
On Thu, Nov 11, 2010 at 11:47:04AM +0100, Thomas Rast wrote:
quoted
Yann Dirson wrote:
quoted
Rationale: this is both shorter to spell and consistent with
--find-copies-harder.
[...]
quoted
 -M[<n>]::
---detect-renames[=<n>]::
+--find-renames[=<n>]::
Umm.  The reasoning seems ok for me, but the farthest you can go is
deprecating the options.  Removing them as in
quoted
-	else if (!prefixcmp(arg, "-M") || !prefixcmp(arg, "--detect-renames=") ||
-		 !strcmp(arg, "--detect-renames")) {
+	else if (!prefixcmp(arg, "-M") || !prefixcmp(arg, "--find-renames=") ||
+		 !strcmp(arg, "--find-renames")) {
would break backwards compatibility.
I don't think we care with compatibility here, since those are not
part of any release.
Ah well.  You're right of course, but you could have mentioned that
somewhere :-)
Ah, I was sure I did, but apprently not :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help