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

Re: git rebase --continue error message is misleading

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 10, 2025, 16:59 UTC
Message-ID
<xmqqv7thburt.fsf@gitster.g>
In-Reply-To
<CALG+76erpDGFinXsockB8=+GPEoEtd+xw=xVN1HCzv7=aFymoA@mail.gmail.com>
Björn Lindqvist <bjourne@gmail.com> writes:
> Here, I don't think assuming the user has vi installed is correct.

Exporting GIT_EDITOR that points at the editor of your choice is exactly for those who choose to use something else. Instead of erroring out with "You haven't told me what editor you want to use", editor.c has a fallback default to use DEFAULT_EDITOR that can be configured at the compile time, and if the builder does not configure it, then it falls back to "vi". We'd need to stop somewhere ;-)

Previous: Björn Lindqvist
Message 4 of 4 in “git rebase --continue error message is misleading”
  1. Björn LindqvistDec 9, 2024
  2. Phillip WoodDec 13, 2024
  3. Björn LindqvistFeb 10, 2025
  4. Junio C HamanoFeb 10, 2025

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.