Re: 100%
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 23, 2007, 19:33 UTC
- Message-ID
- <7vk5tu4gas.fsf@assigned-by-dhcp.pobox.com>
- In-Reply-To
- <Pine.LNX.4.64.0706231154300.4059@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 5 quoted lines
> By the same reasoning, you could say "never round down to 0%, because I > want to know when there is no similarity". > > You cannot be exact when you have to cut off fractions, so why try for > _exactly_ one number?
R0 or C0 would not happen in real life, so 0% is a moot issue.
However, wasn't that you who did follow that "certain numbers are special" logic in diffstat?
You advocated "diff --stat" should draw at least one +/- for a patch that adds/removes lines. And I (and others) agreed because zero is special in the context of that application.
I think reserving R100 to mean "identical byte sequences" has value, when people look at --name-status output, in the context of "similarity index".