mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 05:13:53 -05:00
Fix FugitiveHead() for certain arities
This commit is contained in:
@@ -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