From: "H. Peter Anvin" <hpa@zytor.com>
To: Junio C Hamano <junkio@cox.net>
Cc: Linus Torvalds <torvalds@osdl.org>, git@vger.kernel.org
Subject: Re: Pure renames/copies
Date: Mon, 21 Nov 2005 13:01:30 -0800 [thread overview]
Message-ID: <438235AA.8070805@zytor.com> (raw)
In-Reply-To: <7vacfxrdao.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> Linus Torvalds <torvalds@osdl.org> writes:
>
>
>>Of course, arguably "-M100" should really do this optimization for you.
>>Junio?
>
>
> Probably something like this would suffice.
>
> -- >8 --
> Subject: rename detection with -M100 means "exact renames only".
>
> When the user is interested in pure renames, there is no point
> doing the similarity scores. This changes the score argument
> parsing to special case -M100 (otherwise, it is a precision
> scaled value 0 <= v < 1 and would mean 0.1, not 1.0 --- if you
> do mean 0.1, you can say -M1), and optimizes the diffcore_rename
> transformation to only look at pure renames in that case.
>
Any reason we can't make it take an actual decimal number, like -M1.0 or
-M0.345? It seems odd and annoying to invent our own notation for
floating-point numbers, especially in userspace.
-hpa
next prev parent reply other threads:[~2005-11-21 21:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-21 12:01 Pure renames/copies Santi Béjar
2005-11-21 18:37 ` Linus Torvalds
2005-11-21 19:31 ` Junio C Hamano
2005-11-21 19:50 ` Junio C Hamano
2005-11-21 21:01 ` H. Peter Anvin [this message]
2005-11-21 21:33 ` Junio C Hamano
2005-11-21 21:37 ` H. Peter Anvin
2005-11-21 22:00 ` Junio C Hamano
2005-11-21 22:10 ` H. Peter Anvin
2005-11-21 22:17 ` H. Peter Anvin
2005-11-22 9:03 ` Santi Bejar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=438235AA.8070805@zytor.com \
--to=hpa@zytor.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).