mirror of
https://github.com/textmate/textmate.git
synced 2026-01-13 08:47:59 -05:00
The use case for this feature is when an interactive rebase is in progress and be able to, in one command, amend the current commit and continue with rebase. By default, if the --rebase-in-progress flag is passed when the "commit" command is invoked the commit button will be in a "commit and continue" state. This is indicated by the title of the commit button now being "Commit & Continue". If the option (⌥) key is being hold down the state will revert back to the standard "commit" state and the title will change to "Continue". If the butten was clicked when it was in the "commit and continue" state the "commit" command will print "TM_SCM_COMMIT_CONTINUE=1" (without the quotes) to stdout as the last line. If the button was clicked when it was in the standard "commit" state the output may contain "TM_SCM_COMMIT_CONTINUE=0", or the "TM_SCM_COMMIT_CONTINUE" string will be absent.