Revert "Tell `git revert` not to follow renames"

This doesn't work prior to git 2.8: `git revert` silently ignores the
option and succeeds. We will have to fix CVE-2016-10026 some other way.

This reverts commit 9cada49ed6.
master
Simon McVittie 2016-12-26 16:30:43 +00:00
parent c1120bbbe8
commit 469c842fd5
1 changed files with 1 additions and 3 deletions

View File

@ -982,9 +982,7 @@ sub rcs_revert ($) {
ensure_committer();
if (run_or_non('git', 'revert', '--strategy=recursive',
'--strategy-option=no-renames',
'--no-commit', $sha1)) {
if (run_or_non('git', 'revert', '--no-commit', $sha1)) {
return undef;
}
else {