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
parent
c1120bbbe8
commit
469c842fd5
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue