mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
external: commit imports with --no-verify
Currently, importing external commits with import-external-git.pl may fail if the current repository checks for whitespace errors, and the external commits contain whitespace errors. So run the commit with --no-verify, so we can make the commit before fixing up the whitespace errors immediately afterwards. Change-Id: I8c9c39550e118956aa847e0ec5c5b1181f42e6cb Reviewed-on: http://gerrit.openafs.org/5796 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
95038fde9a
commit
7ef5aeb608
2
src/external/import-external-git.pl
vendored
2
src/external/import-external-git.pl
vendored
@ -208,7 +208,7 @@ eval {
|
||||
}
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user