$forceflag will only be set if we actually think the ref is not fast
forwarding. But the --deliberately flags may cause a repo reset which
will require us to mention the previous state, even if the push
appears to be ff.
responder_send_command("param head $head");
responder_send_command("param csuite $csuite");
- if ($forceflag) {
+ if (deliberately_not_fast_forward) {
git_for_each_ref(lrfetchrefs, sub {
my ($objid,$objtype,$lrfetchrefname,$reftail) = @_;
my $rrefname= substr($lrfetchrefname, length(lrfetchrefs) + 1);