mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 04:53:45 -05:00
Fix gf error in commit message outside of repository
This commit is contained in:
@@ -7668,7 +7668,7 @@ endfunction
|
||||
function! s:StatusCfile(...) abort
|
||||
let tree = s:Tree()
|
||||
if empty(tree)
|
||||
return ''
|
||||
return []
|
||||
endif
|
||||
let lead = s:cpath(tree, getcwd()) ? './' : tree . '/'
|
||||
if getline('.') =~# '^.\=\trenamed:.* -> '
|
||||
|
||||
Reference in New Issue
Block a user