mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-12 05:13:53 -05:00
Accept commit.. :Gblame argument as commit not filename
This commit is contained in:
@@ -4677,7 +4677,7 @@ function! s:BlameSubcommand(line1, count, range, bang, mods, args) abort
|
||||
call add(commits, remove(flags, i))
|
||||
continue
|
||||
endif
|
||||
if s:HasOpt(flags, '--reverse') && arg =~# '\.\.' && empty(commits)
|
||||
if arg =~# '\.\.' && arg !~# '^\.\.\=\%(/\|$\)' && empty(commits)
|
||||
call add(commits, remove(flags, i))
|
||||
continue
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user