Source

aurum / test / git.in

:let $LANG="C"
:let g:curtest='gittest'
:W{{{1 Annotate
:Run! AuAnnotate file ./gittestrepo/* | wincmd w
:bwipeout!
:bwipeout!
:W{{{1 Branch
:Run! AuBranch next3 repo ./gittestrepo/
:WT
:W{{{1 Log: nomerges
:Run! AuLog ./gittestrepo/ nomerges
:bwipeout!
:W{{{1 Log: files
:Run! AuLog ./gittestrepo/ showfiles
:bwipeout!
:W{{{1 Log: everything
:Run! AuLog ./gittestrepo/ stat patch showfiles showrenames showcopies
:bwipeout!
:W{{{1 Status: current
:Run! AuStatus ./gitteststatusrepo/
:bwipeout!
:W{{{1 Status: relative to other (1)
:Run! AuStatus ./gitteststatusrepo/ rev1 HEAD^
:bwipeout!
:W{{{1 Status: relative to other (2)
:Run! AuStatus ./gitteststatusrepo/ rev2 HEAD^
:bwipeout!
:W{{{1 Status: between two revisions
:Run! AuStatus ./gittestrepo/ rev1 erevision rev2 next
:bwipeout!
:W{{{1 Commit
:edit ./gittestrepo/newfile.vim
iW In file newfile.vim:write
:Run! AuCommit message Added\ newfile.vim date 1990-10-11 user ZyX\ <zyx@example.by> type unknown ./gittestrepo/newfile.vim
:WT normal! ggdd
:W{{{1 Commit 2
oW File newfile.vim, second line:write
:Run! AuCommit date 1990-10-12 user ZyX\ <zyx@example.by>
Added second line to newfile.vim
// It was not required really:write
:WT normal! ggdd