Fix gf in gitcommit diff

Closes https://github.com/tpope/vim-fugitive/issues/1084
This commit is contained in:
Tim Pope
2018-08-29 17:15:05 -04:00
parent b3651aa744
commit 61b09ca6b7

View File

@@ -3515,7 +3515,7 @@ endfunction
function! fugitive#StatusCfile() abort
let file = s:Generate(s:StatusCfile())
return empty(file) ? "\<C-R>\<C-F>" : s:fnameescape(file)
return empty(file) ? fugitive#Cfile() : s:fnameescape(file)
endfunction
function! s:cfile() abort