my @refspecs = map { "$_->{ref}:$_->{ref}" } @source_branches;
my @nuke_refspecs = map { ":$_->{ref}" } @source_branches;
if ($op eq 'put') {
- $git->push('--no-follow-tags', $remote, @refspecs);
+ $git->push(qw(--no-follow-tags --no-verify), $remote, @refspecs);
$git->update_ref('-m', "git-branchmove: moved to $remote ($rurl)",
'-d', $_->{ref}, $_->{hash})
for @source_branches;
} elsif ($op eq 'get') {
$git->fetch('--no-tags', $remote, @refspecs);
- $git->push('--no-follow-tags', $remote, @nuke_refspecs);
+ $git->push(qw(--no-follow-tags --no-verify), $remote, @nuke_refspecs);
}
# if the remote is a named remote, rather than just a URI, update