mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 12:53:52 -05:00
Fix :Gedit >
This commit is contained in:
@@ -948,7 +948,7 @@ function! s:Expand(rev, ...) abort
|
||||
call s:throw('Use ' . string('!' . a:rev[1:-1] . ':%') . ' instead of ' . string(a:rev))
|
||||
elseif a:rev =~# '^>[~^]\|^>@{\|^>:\d$'
|
||||
let file = 'HEAD' . a:rev[1:-1] . ':%'
|
||||
elseif a:rev =~# '^>[^> ]'
|
||||
elseif a:rev =~# '^>[> ]\@!'
|
||||
let file = a:rev[1:-1] . ':%'
|
||||
else
|
||||
let file = a:rev
|
||||
|
||||
Reference in New Issue
Block a user