mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 06:13: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
|
return perm ==# '---------' ? '' : perm
|
||||||
endfunction
|
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 info = join(a:info[0:-2]) . "\t" . a:info[-1] . "\n"
|
||||||
let [error, exec_error] = s:SystemError([a:dir, 'update-index', '--index-info'], info)
|
let [error, exec_error] = s:SystemError([a:dir, 'update-index', '--index-info'], info)
|
||||||
return !exec_error ? '' : len(error) ? error : 'fugitive: unknown update-index error'
|
return !exec_error ? '' : len(error) ? error : 'fugitive: unknown update-index error'
|
||||||
|
|||||||
Reference in New Issue
Block a user