badusage "no arguments allowed" if @ARGV;
my $head = get_head();
my (undef, undef, undef, $ffq, $gdrlast) = ffq_prev_branchinfo();
- keycommits $head, 0;
- my $out;
+ my ($anchor, $breakwater) = keycommits $head, 0;
+ my $out = $breakwater;
make_patches_staged $head;
in_workarea sub {
- $out = make_commit ['HEAD'], [
+ $out = make_commit [$out], [
'Commit patch queue (converted from git-debrebase format)',
'[git-debrebase convert-to-gbp: commit patches]',
];