diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 550b364..34e7b68 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -2537,6 +2537,10 @@ function! s:GF(mode) abort elseif line('$') == 1 && getline('.') =~ '^\x\{40\}$' let ref = getline('.') + + elseif expand('') =~# '^\x\{7,40\}\>' + return s:Edit(a:mode,0,expand('')) + else let ref = '' endif