commit d1671f1fce7834b3e4371cd16fbca9f1d05abe20 (tree)
parent 48e612601bc19883ac6906583e2f0cb096dc1d0c
Author: Tim Pope <code@tpope.net>
Date: Sat, 6 Jul 2019 07:28:41 -0400
Fix :Gedit >
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -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