1 2 3 4 5 6 7 8 9 10 11 12
source helper.vim let tmpfile = 'fileAddedToGit.tmp' call system('touch '.tmpfile) call system('git add '.tmpfile) execute 'edit '.tmpfile normal ihello write call DumpSigns('fileAddedToGit') call system('git reset HEAD '.tmpfile) call system('rm '.tmpfile)