mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 14:23:51 -05:00
Fix missing bang on function declaration
This causes a error during reloading on older versions of Vim.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user