Revert "Allow erroneous swap warning through."

This reverts commit 30facffd5b.
This commit is contained in:
Tim Pope
2014-06-22 19:36:43 -04:00
parent 750db5e5b9
commit fba20539e7

View File

@@ -2110,7 +2110,7 @@ function! s:ReplaceCmd(cmd,...) abort
let $GIT_INDEX_FILE = old_index
endif
endtry
exe 'keepalt file '.tmp
silent exe 'keepalt file '.tmp
try
silent edit!
finally