-
{{[[TODO]]}} hmmm. technically, we know when the rebase finishes -- when the $1 is "rebase". so in the `post-rewrite` script, we could ourselves invoke `git-stacked-rebase --apply` if we had one in progress, but couldn't finish ourselves because `edit`, `break` etc.!
-
{{[[TODO]]}} gotta handle editor exiting w/ an error code (the user doing it intentionally to cancel the rebase) -- our command shouldn't throw up & show a meh error, instead should act exactly as git's rebase & calmly exit (gotta check what exit code should be tho)
-
{{[[DONE]]}} total cleanup (nuke our stacked-rebase folder) after --apply, and make --push work w/o relying on it (only on already existing commits)
-
{{[[TODO]]}} instead of `initialBranch`, take in `initialCommittish` (idea from previous, since e.g. --push doesn't care if you start from a branch or not, it can be used anywhere!)
-
{{[[TODO]]}} library could probably export 3 different methods: `rebase`, `apply` and `forcePush`, with additional others `branchSequencerExec`, then `continue` and `abort`.
-