mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 04:53:45 -05:00
Fix write command with Win32 path
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user