parent
124550cfee
commit
61fac2f738
@ -2152,7 +2152,7 @@ function! s:BufWriteIndexFile()
|
||||
endif
|
||||
let info = old_mode.' '.sha1.' '.stage."\t".path
|
||||
call writefile([info],tmp)
|
||||
if has('win32')
|
||||
if &shell =~# 'cmd'
|
||||
let error = system('type '.s:gsub(tmp,'/','\\').'|'.s:repo().git_command('update-index','--index-info'))
|
||||
else
|
||||
let error = system(s:repo().git_command('update-index','--index-info').' < '.tmp)
|
||||
|
Loading…
Reference in New Issue
Block a user