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