aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-gitgutter/test/testFileAddedToGit.vim
blob: 91a2c14b0bb9dcb0971958456ea379e821636b57 (plain)
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)