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

Re: Feature Request: Interactively pick fixup revision

From
SHStefan Haller <lists@haller-berlin.de>
Date
Nov 10, 2024, 16:09 UTC
Message-ID
<d9832c11-7c2b-43a8-a7d7-a1de137a5b13@haller-berlin.de>
In-Reply-To
<CABg7He0upi8kmagGO13UMwSWOLeHoryZQU5CGsfbhgqedBKw=Q@mail.gmail.com>
On 10.11.24 08:55, Martin Imre wrote:
Show 7 quoted lines
> Thanks for pointing me towards https://github.com/keis/git-fixup/ and
> git-absorb (https://github.com/tummychow/git-absorb).
> I'll try them out and see if I like the ergonomics of them.
> 
> Just as a general question: With 2 (or even more) different
> implementations that solve the same problem, wouldn't this be a good
> addition for a future version of git?

I'll throw a third one into the mix: lazygit. It's a TUI client that has similar functionality built in. (See [1])

As for why this isn't built in: there are a lot of subtleties to how exactly it works, and people might not agree on these. For example, git-absorb seems to have certain design goals that I don't agree with; I have written a longish document about that if you're interested. [2]

[1] <https://github.com/jesseduffield/lazygit/blob/master/
     docs/Fixup_Commits.md#finding-the-commit-to-create-a-fixup-for>
[2] <https://github.com/jesseduffield/lazygit/blob/master/docs/
     dev/Find_Base_Commit_For_Fixup_Design.md>
Previous: Kristoffer HaugsbakkNext: Matěj Cepl
Message 9 of 12 in “Feature Request: Interactively pick fixup revision”
  1. Martin ImreNov 9, 2024
  2. rsbecker@nexbridge.comNov 9, 2024
  3. Martin ImreNov 9, 2024
  4. Matěj CeplNov 9, 2024
  5. Kristoffer HaugsbakkNov 9, 2024
  6. Matěj CeplNov 9, 2024
  7. Martin ImreNov 10, 2024
  8. Kristoffer HaugsbakkNov 10, 2024
  9. Stefan HallerNov 10, 2024
  10. Matěj CeplNov 11, 2024
  11. Oswald BuddenhagenNov 16, 2024
  12. Kristoffer HaugsbakkNov 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.