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

Re: Pure renames/copies

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Nov 21, 2005, 21:37 UTC
Message-ID
<43823E31.2050500@zytor.com>
In-Reply-To
<7vpsotofd0.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 16 quoted lines
> "H. Peter Anvin" <hpa@zytor.com> writes:
> 
> 
>>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.
> 
> 
> No reason we "can't".  About we "don't", inertia and nothing
> else.  It happened around this time.
> 
> 	http://marc.theaimsgroup.com/?l=git&m=111654149421574
> 
> We could in addition to take 0 <= x <= 1 decimal number and that
> should be a simple patch to diff.c::parse_num().
> 

Okay, in that post Linus suggests that -M without an argument should be == 100% (1.0), thus avoiding having to mess up the meaning of -M100 as 0.100. It seems like a really odd thing to have -M100 mean something that's completely out of line with the rest of the meaning.

	-hpa
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 11 in “Pure renames/copies”
  1. Santi BéjarNov 21, 2005
  2. Linus TorvaldsNov 21, 2005
  3. Junio C HamanoNov 21, 2005
  4. Junio C HamanoNov 21, 2005
  5. H. Peter AnvinNov 21, 2005
  6. Junio C HamanoNov 21, 2005
  7. H. Peter AnvinNov 21, 2005
  8. Junio C HamanoNov 21, 2005
  9. H. Peter AnvinNov 21, 2005
  10. H. Peter AnvinNov 21, 2005
  11. Santi BejarNov 22, 2005

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.