From: H. Peter Anvin Date: Mon, 21 Nov 2005 21:01:30 GMT Subject: Re: Pure renames/copies Message-ID: <438235AA.8070805@zytor.com> In-Reply-To: <7vacfxrdao.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Linus Torvalds 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