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

Re: [ANNOUNCE] Git v2.20.0-rc1

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 25, 2018, 01:00 UTC
Message-ID
<xmqq36rq2cp0.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<877eh219ih.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 7 quoted lines
>>  * "git rebase" and "git rebase -i" have been reimplemented in C.
>
> Here's another regression in the C version (and rc1),...
> I wasn't trying to stress test rebase. I was just wanting to rebase a
> history I was about to force-push after cleaning it up, hardly an
> obscure use-case. So [repeat last transmission in
> https://public-inbox.org/git/87y39w1wc2.fsf@evledraar.gmail.com/ ]
which, to those who are reading from sidelines:
    Given that we're still finding regressions bugs in the rebase-in-C
    version should we be considering reverting 5541bd5b8f ("rebase: default
    to using the builtin rebase", 2018-08-08)?
    I love the feature, but fear that the current list of known regressions
    serve as a canary for a larger list which we'd discover if we held off
    for another major release (and would re-enable rebase.useBuiltin=true in
    master right after 2.20 is out the door).

I am fine with the proposed flip, but I'll have to see the extent of damage this late in the game so that I won't miss anything. In addition to the one-liner below, we'd need to update the quoted release notes entry, and possibly adjust some tests (even though the "reimplementation" ought to be bug-to-bug compatible, it may not be).

diff --git b/builtin/rebase.c a/builtin/rebase.c
index 9dc8475cd3..60e357c735 100644
--- b/builtin/rebase.c
+++ a/builtin/rebase.c
@@ -54,7 +54,7 @@ static int use_builtin_rebase(void)
 	cp.git_cmd = 1;
 	if (capture_command(&cp, &out, 6)) {
 		strbuf_release(&out);
-		return 1;
+		return 0;
 	}
 
 	strbuf_trim(&out);
Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 12 of 53 in “[ANNOUNCE] Git v2.20.0-rc1”
  1. Junio C HamanoNov 21, 2018
  2. Ævar Arnfjörð BjarmasonNov 22, 2018
  3. Eric SunshineNov 22, 2018
  4. 0/2 format-patch: pre-2.20 range-diff regression fixÆvar Arnfjörð Bjarmason, Nov 22, 2018
  5. 1/2 format-patch: add a more exhaustive --range-diff testÆvar Arnfjörð Bjarmason, Nov 22, 2018
  6. 2/2 format-patch: don't include --stat with --range-diff outputÆvar Arnfjörð Bjarmason, Nov 22, 2018
  7. Junio C HamanoNov 24, 2018
  8. Junio C HamanoNov 24, 2018
  9. Junio C HamanoNov 24, 2018
  10. Ævar Arnfjörð BjarmasonNov 24, 2018
  11. Ævar Arnfjörð BjarmasonNov 24, 2018
  12. Junio C HamanoNov 25, 2018
  13. rebase: mark the C reimplementation as an experimental opt-in feature (was Re: [ANNOUNCE] Git v2.20.0-rc1)Junio C Hamano, Nov 26, 2018
  14. Junio C HamanoNov 26, 2018
  15. Elijah NewrenNov 26, 2018
  16. Johannes SchindelinNov 26, 2018
  17. Johannes SchindelinNov 26, 2018
  18. Junio C HamanoNov 27, 2018
  19. Junio C HamanoNov 28, 2018
  20. Jonathan NiederNov 28, 2018
  21. Johannes SchindelinNov 28, 2018
  22. Johannes SchindelinNov 28, 2018
  23. Ævar Arnfjörð BjarmasonNov 28, 2018
  24. 2/2 format-patch: allow for independent diff & range-diff optionsÆvar Arnfjörð Bjarmason, Nov 28, 2018
  25. 0/2 format-patch: fix root cause of recent regressionÆvar Arnfjörð Bjarmason, Nov 28, 2018
  26. 1/2 format-patch: add test for --range-diff diff outputÆvar Arnfjörð Bjarmason, Nov 28, 2018
  27. Junio C HamanoNov 29, 2018
  28. Junio C HamanoNov 29, 2018
  29. Johannes SchindelinNov 29, 2018
  30. Ævar Arnfjörð BjarmasonNov 29, 2018
  31. Johannes SchindelinNov 29, 2018
  32. Johannes SchindelinNov 29, 2018
  33. Ævar Arnfjörð BjarmasonNov 29, 2018
  34. Ian JacksonNov 29, 2018
  35. Johannes SchindelinNov 29, 2018
  36. Johannes SchindelinNov 29, 2018
  37. Ian JacksonNov 29, 2018
  38. Ævar Arnfjörð BjarmasonNov 29, 2018
  39. Johannes SchindelinNov 29, 2018
  40. Ian JacksonNov 29, 2018
  41. Johannes SchindelinNov 29, 2018
  42. Junio C HamanoNov 30, 2018
  43. format-patch: do not let its diff-options affect --range-diff (was Re: [PATCH 2/2] format-patch: allow for independent diff & range-diff options)Junio C Hamano, Nov 30, 2018
  44. Junio C HamanoNov 30, 2018
  45. Ævar Arnfjörð BjarmasonNov 30, 2018
  46. Eric SunshineNov 30, 2018
  47. Eric SunshineNov 30, 2018
  48. Johannes SchindelinNov 30, 2018
  49. Martin ÅgrenDec 3, 2018
  50. range-diff: always pass at least minimal diff optionsMartin Ågren, Dec 3, 2018
  51. range-diff: always pass at least minimal diff optionsEric Sunshine, Dec 3, 2018
  52. Junio C HamanoDec 4, 2018
  53. Martin ÅgrenDec 4, 2018

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.