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

Re: Supporting --no-edit for git rebase --continue

From
Orgad Shaneh <orgads@gmail.com>
Date
Feb 9, 2024, 13:35 UTC
Message-ID
<CAGHpTB+_yo24d5wtTnxCHF+i+wLCiq3XjjpmaX1Z=AOxFjx+mQ@mail.gmail.com>
In-Reply-To
<ZcWCDEnmv97orQyY@tapette.crustytoothpaste.net>

On Fri, Feb 9, 2024 at 3:38 AM brian m. carlson <sandals@crustytoothpaste.net> wrote:

Show 14 quoted lines
>
> On 2024-02-07 at 20:46:16, Orgad Shaneh wrote:
> > Hi,
> >
> > Is it possible to add --no-edit for git rebase --continue, similar to
> > the functionality of this flag for git cherry-pick --continue and
> > similar commands?
>
> I haven't checked whether this is actually possible, but I imagine it is
> with some work.  I think it would be a valuable feature to add, but I
> don't think anyone's planning on working on it.  Would you be willing to
> send a patch?  Even if many people think it's a good idea, we're all
> busy, and thus it'll only be implemented if someone is willing to pick
> it up.
Thank you. I'll try to prepare a patch.
Show 7 quoted lines
> In the meantime, you could try setting `GIT_EDITOR=:` in your
> environment (for example, using an alias) like so:
>
> [alias]
>   rncontinue = "!f() { GIT_EDITOR=: git rebase --continue; };f"
>
> and that can serve as a workaround.
Nice, thanks!
- Orgad
Previous: brian m. carlsonNext: Phillip Wood
Message 3 of 4 in “Supporting --no-edit for git rebase --continue”
  1. Orgad ShanehFeb 7, 2024
  2. brian m. carlsonFeb 9, 2024
  3. Orgad ShanehFeb 9, 2024
  4. Phillip WoodFeb 9, 2024

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.