git/list[1] front-page[2] threads[3] people[4] search[5] about
wed 2026-10-07 16:56 UTC

Re: [PATCH] rebase: mark the C reimplementation as an experimental opt-in feature (was Re: [ANNOUNCE] Git v2.20.0-rc1)

From
IJIan Jackson <ijackson@chiark.greenend.org.uk>
Date
Nov 29, 2018, 15:50 UTC
Message-ID
<23552.2773.538601.372248@chiark.greenend.org.uk>
In-Reply-To
<nycvar.QRO.7.76.6.1811291638400.41@tvgsbejvaqbjf.bet>
Johannes Schindelin writes ("Re: [PATCH] rebase: mark the C reimplementation as an experimental opt-in feature (was Re: [ANNOUNCE] Git v2.20.0-rc1)"):
Show 8 quoted lines
> >  In a successful run with older git I get a reflog like this:
> > 
> >    4833d74 HEAD@{0}: rebase finished: returning to refs/heads/with-preexisting
> >    4833d74 HEAD@{1}: debrebase new-upstream 2.1-1: rebase: Add another new upstream file
> >    cabd5ec HEAD@{2}: debrebase new-upstream 2.1-1: rebase: Edit the .c file
> >    0b362ce HEAD@{3}: debrebase new-upstream 2.1-1: rebase: Add a new upstream file
> >    29653e5 HEAD@{4}: debrebase new-upstream 2.1-1: rebase: checkout 29653e5a17bee4ac23a68bba3e12bc1f52858ac3
> >    85e0c46 HEAD@{5}: debrebase: launder for new upstream
...
Show 7 quoted lines
> >  This breaks the test because my test suite is checking that I set
> >  GIT_REFLOG_ACTION appropriately.
> > 
> >  If you want I can provide a minimal test case but this should suffice
> >  to see the bug I hope...
> 
> This should be plenty for me to get going. Thank you!
Happy hunting.

While you're looking at this, I observe that the fact that the `rebase finished' message also does not honour GIT_REFLOG_ACTION appears to be a pre-existing bug.

(In general one often can't rely on GIT_REFLOG_ACTION still being set because the rebase might have been interrupted and restarted, which I think is why my test case looks for it in the initial `checkout' message.)

Regards, Ian.

-- 
Ian Jackson <ijackson@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.
Previous: Johannes SchindelinNext: Ævar Arnfjörð Bjarmason
Message 37 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.