enabled only with special command line option.
* git-debrebase: Check in convert-from-* whether ffq-prev or
debrebase-last indicate that we are already in gdr format.
+ * git-debrebase: convert-from-*: leave debrebase-last refs to
+ hint to everyone that this is now a gdr branch.
--
snag 'already-converted',
"ahead of debrebase-last, this is already managed by git-debrebase!"
if $gdrlast_obj && is_fast_fwd $gdrlast_obj, $head;
- return ($head, undef);
+ return ($head, { LastRef => $gdrlast, LastObj => $gdrlast_obj });
}
sub complete_convert_from ($$$$) {
my ($old_head, $new_head, $gi, $mrest) = @_;
ffq_check $new_head;
+ record_gdrlast $gi->{LastRef}, $new_head, $gi->{LastObj}
+ if $gi->{LastRef};
snags_maybe_bail();
update_head_checkout $old_head, $new_head, $mrest;
}