Fix FugitiveHead() for certain arities

This commit is contained in:
Tim Pope committed 2021-08-08 01:39:05 -04:00
1 parent b8ba07f7d8
commit 89c9f96d49
1 file changed
+1 -1
+1 -1
View File
@@ -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 ''