From 8886d97070cf72c11749301d8e30439dd3600d13 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 6 Jun 2021 15:32:27 -0400 Subject: [PATCH] Fix missing bang on function declaration This causes a error during reloading on older versions of Vim. --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 58456b6..73d1823 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -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'