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

Git Feature Request (Fixdown in interactive rebase)

From
Mike McLean <stixmclean@googlemail.com>
Date
Dec 23, 2020, 23:08 UTC
Message-ID
<CAM0jFOdCD1uEcHaPB_go7aarapEBKx6M4d35zVOP8h9=MuZEmA@mail.gmail.com>
In-Reply-To
<CAM0jFOeCE-iTAMkiGE6m8bVNjJRn-BUmbUAP2ANrj4FbhuQG=g@mail.gmail.com>

I initially raised this as a FR with my git UI of choice, and was told that it was actually something that git itself would need to do ... and that the standard way to raise Feature Requests was to email this list.

Apologies if that's not actually what I should be doing - please let me know if this is not an intended use.

=-=-=-=-=-=-=-=

During an interactive rebase, the text file defining the operations has a command option for "fixup". This will squash the target commit into the previous commit (listed above it in the file), and automatically use the commit message of the previous commit (thus bypassing the "choose the commit message" dialog/file).

Can we have a similar convenience-command that squashes, and retains
the second commit's message? Purpose is the same as the fixup command
- saving a bit of time and unnecessary typing during a common
operation.

Am happy to suggest names and/or shorthand keys for it, if the idea is acceptable.

Yours, Brondahl

Next: brian m. carlson
Message 1 of 10 in “Git Feature Request (Fixdown in interactive rebase)”
  1. Mike McLeanDec 23, 2020
  2. brian m. carlsonDec 23, 2020
  3. Mike McLeanDec 23, 2020
  4. Junio C HamanoDec 23, 2020
  5. Mike McLeanDec 24, 2020
  6. Johannes SixtDec 24, 2020
  7. Junio C HamanoDec 24, 2020
  8. Johannes SixtDec 24, 2020
  9. Johannes SchindelinJan 6, 2021
  10. Charvi MendirattaJan 27, 2021

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.