mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-07 20:54:39 +08:00
Fix - in commit
This commit is contained in:
1 parent
9619055cfd
commit
b72bb7b289
1 file changed
+1
-1
+1
-1
@@ -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