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

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 28, 2022, 14:59 UTC
Message-ID
<7229p500-p2r4-on87-6802-8o90s36rr3s4@tzk.qr>
In-Reply-To
<1196830250.20220726145447@yandex.ru>
Hi Eugen,
On Tue, 26 Jul 2022, Eugen Konkov wrote:
Show 10 quoted lines
> $ 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

Previous: Eugen KonkovNext: Junio C Hamano
Message 2 of 17 in “--creation-factor=100 does not show code”
  1. Eugen KonkovJul 26, 2022
  2. Johannes SchindelinJul 28, 2022
  3. Re* --creation-factor=100 does not show codeJunio C Hamano, Jul 28, 2022
  4. Ævar Arnfjörð BjarmasonJul 28, 2022
  5. Junio C HamanoJul 28, 2022
  6. Ævar Arnfjörð BjarmasonJul 28, 2022
  7. Junio C HamanoJul 28, 2022
  8. format-patch: clarify --creation-factor=<factor>Eric Sunshine, Jul 28, 2022
  9. Ævar Arnfjörð BjarmasonJul 28, 2022
  10. Junio C HamanoJul 28, 2022
  11. Eric SunshineJul 28, 2022
  12. Eric SunshineJul 30, 2022
  13. Junio C HamanoJul 31, 2022
  14. Johannes SchindelinJul 29, 2022
  15. Junio C HamanoJul 29, 2022
  16. Junio C HamanoAug 1, 2022
  17. Eugen KonkovApr 2, 2023

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.