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

Re: Git 2.26 rebase.backend change issue

From
Jeff King <peff@peff.net>
Date
Mar 28, 2020, 14:18 UTC
Message-ID
<20200328141814.GA1198080@coredump.intra.peff.net>
In-Reply-To
<CAJTX9qSjnPGKEBDB_ma5QqWOwop5s15kskKQ7EU2ne7VFEBnfA@mail.gmail.com>
On Sat, Mar 28, 2020 at 09:21:08AM +0100, Bastian Buchholz wrote:
Show 10 quoted lines
> Just wanted to report that I am running into issues with the git 2.26
> `rebase.backend` change.
> I am a maintainer on https://github.com/FredrikNoren/ungit which is a
> UI for git using a http server / browser architecture.
> We are using `git rebase` in non interactive mode (e.g. not specifying
> `-i` or `--interactive`) on the server and with git 2.26 this fails
> because it seems that it now runs in interactive mode by default. It
> tries to an editor on `git rebase --continue`.
> Specifying `-c rebase.backend=apply` fixes our issue see
> https://github.com/FredrikNoren/ungit/issues/1301

I don't think --interactive is relevant here; the features triggered by that option (i.e., the ability to tweak the instruction list) are different from the notion that rebase would never interact with the user at all.

There's more discussion of this change in the thread at:
  https://lore.kernel.org/git/20200310174017.GA549010@coredump.intra.peff.net/

The simplest fix is likely to set GIT_EDITOR=: in your environment when you don't want the user to ever be presented with an editor.

-Peff
Previous: Bastian BuchholzNext: Bastian Buchholz
Message 2 of 3 in “Git 2.26 rebase.backend change issue”
  1. Bastian BuchholzMar 28, 2020
  2. Jeff KingMar 28, 2020
  3. Bastian BuchholzMar 28, 2020

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.