mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-13 22:03:51 -05:00
Fix - in commit
This commit is contained in:
@@ -545,7 +545,7 @@ function! s:buffer_up(...) dict abort
|
||||
let rev = 'HEAD'
|
||||
elseif rev =~# '^:'
|
||||
let rev = ':'
|
||||
elseif rev =~# '^[^^~:]\+$'
|
||||
elseif rev =~# '^refs/[^^~:]*$\|^[^^~:]*HEAD$'
|
||||
let rev .= '^{}'
|
||||
elseif rev =~# '^/\|:.*/'
|
||||
let rev = s:sub(rev, '.*\zs/.*', '')
|
||||
|
||||
Reference in New Issue
Block a user