Accept commit.. :Gblame argument as commit not filename
This commit is contained in:
parent
e7c2563288
commit
69bf0e3469
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user