* test suite: gdr-import-dgitview: New test for dgit dsc imports.
* git-debrebase: Provide new convert-from-dgit-view operation.
The output is, unavoidably, not very pretty. Closes:#905322.
+ * git-debrebase: New feature `scrap'. Closes:#905063.
--
do_stitch 'quick';
}
+sub cmd_scrap () {
+ my ($ffq_prev, $gdrlast, $ffq_prev_commitish) = ffq_prev_info();
+ fail "No ongoing git-debrebase session." unless $ffq_prev_commitish;
+ my $scrapping_head = get_head();
+ badusage "no arguments allowed" if @ARGV;
+ push @deferred_updates,
+ "update $gdrlast $ffq_prev_commitish $git_null_obj",
+ "update $ffq_prev $git_null_obj $ffq_prev_commitish";
+ snags_maybe_bail();
+ update_head_checkout $scrapping_head, $ffq_prev_commitish, "scrap";
+}
+
sub make_patches_staged ($) {
my ($head) = @_;
# Produces the patches that would result from $head if it were
You should consider using B<conclude> instead,
because that launders the branch too.
+=item git-debrebase scrap
+
+Throws away all the work since the branch was last stitched.
+This is done by rewinding you to ffq-prev.
+
=item git-debrebase new-upstream <new-version> [<upstream-details>...]
Rebases the delta queue