sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Add support for git-absorb

Open dsp opened this issue 1 year ago • 1 comments

Problem description

One of the best features of Meta's version control system is the ability to use absorb. This finds the right commit on your branch to apply changes in your working directory too. It's highly intuitive to use. A similar tool git-absorb has been written. It would be amazing if Sublime Merge would support absorb. This would allow a very intuitive workflow in applying working directory changes to the right commit in a feature branch.

This would be a distinguishing feature for Sublime Merge over other GUI tools. It's one of the few things, despite having a Merge license, I have to go back to the command line for.

Preferred solution

Please have sublime merge support Absorb. Preferable, "right click" on "[N] unstaged files" above HEAD in the commit tree would give the option to "absorb". If successful Sublime would run git absorb --and-rebase under the hood.

dsp avatar Feb 25 '24 13:02 dsp

You can add your own custom menu items to achieve this integration:

  • menu item: https://www.sublimemerge.com/docs/menus#customization
  • available menus: https://www.sublimemerge.com/docs/menus#available_menus (my guess would be advanced commit)

srbs avatar Mar 03 '24 13:03 srbs