Fix missing bang on function declaration

This causes a error during reloading on older versions of Vim.
This commit is contained in:
Tim Pope
2021-06-06 15:32:27 -04:00
parent f7f1413ed9
commit 8886d97070

View File

@@ -1480,7 +1480,7 @@ function! fugitive#getfperm(url) abort
return perm ==# '---------' ? '' : perm
endfunction
function s:UpdateIndex(dir, info) abort
function! s:UpdateIndex(dir, info) abort
let info = join(a:info[0:-2]) . "\t" . a:info[-1] . "\n"
let [error, exec_error] = s:SystemError([a:dir, 'update-index', '--index-info'], info)
return !exec_error ? '' : len(error) ? error : 'fugitive: unknown update-index error'