From 69bf0e3469ca96b61d9a7264a8c4a0619eb78c01 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 13 Aug 2019 20:58:00 -0400 Subject: [PATCH] Accept commit.. :Gblame argument as commit not filename --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index bc31b13..7cc4da0 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -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