From 0e948d514cc45d8ac7fea10f416f6446e9db19c1 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 1 Aug 2018 14:14:25 -0400 Subject: [PATCH] Fix write command with Win32 path --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 4a8cec4..ea44f24 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -3088,7 +3088,7 @@ function! s:Browse(bang,line1,count,...) abort let blame_list = s:tempname() call writefile([commit, ''], blame_list, 'b') let blame_in = s:tempname() - silent exe '%write' . blame_in + silent exe '%write' blame_in let blame = split(s:TreeChomp('blame', '--contents', blame_in, '-L', a:line1.','.a:count, '-S', blame_list, '-s', '--show-number', '--', path), "\n") if !v:shell_error let blame_regex = '^\^\x\+\s\+\zs\d\+\ze\s'