Allow erroneous swap warning through.

Closes #192, #352.
This commit is contained in:
Tim Pope
2014-06-21 14:06:20 -04:00
parent f32bdf1a7b
commit 30facffd5b

View File

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