Skip to content

Commit

Permalink
Fix escaping in :Gblame
Browse files Browse the repository at this point in the history
Closes #952
  • Loading branch information
tpope committed Oct 21, 2017
1 parent 42daa31 commit 7c9b87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/fugitive.vim
Expand Up @@ -1995,7 +1995,7 @@ function! s:Blame(bang,line1,line2,count,args) abort
let cmd += ['--contents', '-']
endif
let cmd += ['--', s:buffer().path()]
let basecmd = escape(call(s:repo().git_command,cmd,s:repo()),'!')
let basecmd = escape(call(s:repo().git_command,cmd,s:repo()),'!%#')
try
let cd = exists('*haslocaldir') && haslocaldir() ? 'lcd' : 'cd'
if !s:repo().bare()
Expand Down

0 comments on commit 7c9b87a

Please sign in to comment.