Accept commit.. :Gblame argument as commit not filename

This commit is contained in:
Tim Pope 2019-08-13 20:58:00 -04:00
parent e7c2563288
commit 69bf0e3469

View File

@ -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