}
undef $fh;
$author="--author '$author'" if ($author);
- system("git commit -F $tempdir/commit-msg $author") == 0
+ system("git commit --no-verify -F $tempdir/commit-msg $author") == 0
or die "Commit failed : $!\n";
if ($nowhitespace) {
print STDERR "WARNING: not fixing whitespace errors.\n";
system("git rebase --whitespace=fix HEAD^") == 0
or print STDERR "WARNING: Fixing whitespace errors failed.\n";
}
+ system("GIT_EDITOR=true git commit --amend") == 0
+ or print STDERR "WARNING: Firing commit msg hooks failed.\n";
}
};