Re: --creation-factor=100 does not show code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eugen,

On Tue, 26 Jul 2022, Eugen Konkov wrote:

> $ git range-diff --creation-factor=100 branch...origin/branch
> 1:  a87daecd47 < -:  ---------- Add mocked exchanges for ...::AutoRenew::General test
> -:  ---------- > 1:  36eaeb56a9 Add mocked exchanges for ...::AutoRenew::General test
> 2:  9594ccf145 = 2:  70681dd13b Remove a call to DB::state
> 3:  740903e01c = 3:  5745ae5702 Run cpanm without tests
> 4:  e8e6cac09c < -:  ---------- Do not use 'require'
>
> --creation-factor=101 does =)
>
> but maximum value for percentage is 100. So expected behaviour is to display range-diff when value 100 was provided

Please see https://git-scm.com/docs/git-range-diff#_algorithm for an
explanation what the meaning of the factor is, and why 100 is not the
maximal sensible value.

Ciao,
Johannes




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux