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))
|
call add(commits, remove(flags, i))
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
if s:HasOpt(flags, '--reverse') && arg =~# '\.\.' && empty(commits)
|
if arg =~# '\.\.' && arg !~# '^\.\.\=\%(/\|$\)' && empty(commits)
|
||||||
call add(commits, remove(flags, i))
|
call add(commits, remove(flags, i))
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user