diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index be72fed..0dacf28 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -5824,7 +5824,7 @@ endfunction " Section: Go to file -let s:ref_header = '\%(Head\|Merge\|Rebase\|Upstream\|Pull\|Push\)' +let s:ref_header = '\%(Merge\|Rebase\|Upstream\|Pull\|Push\)' nnoremap : :=v:count ? v:count : '' function! fugitive#MapCfile(...) abort @@ -6040,7 +6040,7 @@ function! s:StatusCfile(...) abort return [lead . info.relative[0]] elseif len(info.commit) return [info.commit] - elseif line =~# '^' . s:ref_header . ': ' + elseif line =~# '^' . s:ref_header . ': \|^Head: ' return [matchstr(line, ' \zs.*')] else return ['']