From af2fac24bd45870c479620617e5cbf608561e2a0 Mon Sep 17 00:00:00 2001 From: Bob Hiestand Date: Thu, 19 Jun 2008 18:54:48 -0500 Subject: [PATCH] vcsgit: Quote the blob name for VCSReview to handle paths with spaces. --- plugin/vcsgit.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/vcsgit.vim b/plugin/vcsgit.vim index d75f019..6508806 100755 --- a/plugin/vcsgit.vim +++ b/plugin/vcsgit.vim @@ -229,7 +229,7 @@ function! s:gitFunctions.Review(argList) endtry let prefix = substitute(prefix, '\n$', '', '') - let blob = revision . ':' . prefix . '' + let blob = '"' . revision . ':' . prefix . '"' let resultBuffer = s:DoCommand('show ' . blob, 'review', revision, {}) if resultBuffer > 0 let &filetype=getbufvar(b:VCSCommandOriginalBuffer, '&filetype') -- 2.11.4.GIT