Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
+ if (currently_rebasing()) {
+ runcmd @git, qw(rebase --abort);
+ }
my ($ffq_prev, $gdrlast, $ffq_prev_commitish) = ffq_prev_info();
if (!$ffq_prev_commitish) {
fail "No ongoing git-debrebase session." unless $opt_noop_ok;
my ($ffq_prev, $gdrlast, $ffq_prev_commitish) = ffq_prev_info();
if (!$ffq_prev_commitish) {
fail "No ongoing git-debrebase session." unless $opt_noop_ok;
Throws away all the work since the branch was last stitched.
This is done by rewinding you to ffq-prev.
Throws away all the work since the branch was last stitched.
This is done by rewinding you to ffq-prev.
+If you are in the middle of a git-rebase, will abort that too.
+
=item git-debrebase new-upstream <new-version> [<upstream-details>...]
Rebases the delta queue
=item git-debrebase new-upstream <new-version> [<upstream-details>...]
Rebases the delta queue