diff options
Diffstat (limited to 'git-debrebase')
-rwxr-xr-x | git-debrebase | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git-debrebase b/git-debrebase index 74e5076..353b405 100755 --- a/git-debrebase +++ b/git-debrebase @@ -2633,11 +2633,11 @@ sub cmd_convert_to_gbp () { 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]', ]; |