summaryrefslogtreecommitdiff
path: root/include/git2.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-11-13 11:48:07 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-04-30 09:31:58 +0200
commit4cc71bb7fb7d10347bfa8ba57cb4cf74dcc79d4b (patch)
tree0faf7e26b5aa56d8c94e5afb87d9a800f90c193a /include/git2.h
parentde1e81aa10e02f286f39c73cda9899908c448790 (diff)
downloadlibgit2-4cc71bb7fb7d10347bfa8ba57cb4cf74dcc79d4b.tar.gz
tests: Add "describe" test repository
Built with the following script: #!/bin/sh test_tick () { sleep 10 } test_tick && echo one >file && git add file && git commit -m initial && one=$(git rev-parse HEAD) && git describe --always HEAD && test_tick && echo two >file && git add file && git commit -m second && two=$(git rev-parse HEAD) && test_tick && echo three >file && git add file && git commit -m third && test_tick && echo A >file && git add file && git commit -m A && test_tick && git tag -a -m A A && test_tick && echo c >file && git add file && git commit -m c && test_tick && git tag c && git reset --hard $two && test_tick && echo B >side && git add side && git commit -m B && test_tick && git tag -a -m B B && test_tick && git merge -m Merged c && merged=$(git rev-parse HEAD) && git reset --hard $two && test_tick && echo D >another && git add another && git commit -m D && test_tick && git tag -a -m D D && test_tick && git tag -a -m R R && test_tick && echo DD >another && git commit -a -m another && test_tick && git tag e && test_tick && echo DDD >another && git commit -a -m "yet another" && test_tick && git merge -m Merged $merged && test_tick && echo X >file && echo X >side && git add file side && git commit -m x
Diffstat (limited to 'include/git2.h')
0 files changed, 0 insertions, 0 deletions