commit daccfb508ffb00d4635cd9988a6e8487d34247ac (tree)
parent cdb7bd984113610a670903929ff25dc7126f1826
Author: Tim Pope <code@tpope.net>
Date: Tue, 9 Oct 2012 16:24:31 -0400
Update :Gblame supported options
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/fugitive.txt b/doc/fugitive.txt
@@ -171,7 +171,7 @@ that are part of Git repositories).
:Gblame [flags] Run git-blame on the file and open the results in a
scroll bound vertical split. Press enter on a line to
reblame the file as it was in that commit. You can
- give any of ltwfsMC as flags and they will be passed
+ give any of ltfnsewMC as flags and they will be passed
along to git-blame. The following maps, which work on
the cursor line commit where sensible, are provided:
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -1562,7 +1562,7 @@ function! s:Blame(bang,line1,line2,count,args) abort
if s:buffer().path() == ''
call s:throw('file or blob required')
endif
- if filter(copy(a:args),'v:val !~# "^\\%(--root\|--show-name\\|-\\=\\%([ltwfs]\\|[MC]\\d*\\)\\+\\)$"') != []
+ if filter(copy(a:args),'v:val !~# "^\\%(--root\|--show-name\\|-\\=\\%([ltfnsew]\\|[MC]\\d*\\)\\+\\)$"') != []
call s:throw('unsupported option')
endif
call map(a:args,'s:sub(v:val,"^\\ze[^-]","-")')