mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-07 04:34:39 +08:00
Fix FugitiveHead() for certain arities
This commit is contained in:
1 parent
b8ba07f7d8
commit
89c9f96d49
1 file changed
+1
-1
+1
-1
@@ -198,7 +198,7 @@ function! FugitiveHead(...) abort
|
||||
let arg = a:1
|
||||
else
|
||||
let dir = FugitiveGitDir()
|
||||
let args = get(a:, 1, 0)
|
||||
let arg = get(a:, 1, 0)
|
||||
endif
|
||||
if empty(dir)
|
||||
return ''
|
||||
|
||||
Reference in new issue
Block a user