mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 06:13:51 -05:00
@@ -2152,7 +2152,7 @@ function! s:BufWriteIndexFile()
|
|||||||
endif
|
endif
|
||||||
let info = old_mode.' '.sha1.' '.stage."\t".path
|
let info = old_mode.' '.sha1.' '.stage."\t".path
|
||||||
call writefile([info],tmp)
|
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'))
|
let error = system('type '.s:gsub(tmp,'/','\\').'|'.s:repo().git_command('update-index','--index-info'))
|
||||||
else
|
else
|
||||||
let error = system(s:repo().git_command('update-index','--index-info').' < '.tmp)
|
let error = system(s:repo().git_command('update-index','--index-info').' < '.tmp)
|
||||||
|
|||||||
Reference in New Issue
Block a user