mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 22:33:51 -05:00
Support jump to commit in :Git log --graph
This commit is contained in:
@@ -7478,7 +7478,7 @@ function! s:cfile() abort
|
||||
if getline('.') =~# '^ref: '
|
||||
let ref = strpart(getline('.'),5)
|
||||
|
||||
elseif getline('.') =~# '^commit \x\{40,\}\>'
|
||||
elseif getline('.') =~# '^\%([|/\\_ ]*\*[|/\\_ ]*\)\=commit \x\{40,\}\>'
|
||||
let ref = matchstr(getline('.'),'\x\{40,\}')
|
||||
return [ref]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user