6 t-tstunt-parsechangelog
8 t-prep-newpackage example 1.0
12 git tag common-ancestor
21 oldmaster=`cd $dgitrepo && t-git-get-ref refs/heads/master`
25 t-commit 'Empty update'
32 t-check-master-undisturbed () {
33 local master; master=`t-git-get-ref refs/heads/master`
34 if [ x$master != x$oldmaster ]; then fail "bad update to master"; fi
37 t_check_pushed_master=t-check-master-undisturbed
39 git checkout -b divergent common-ancestor
40 git commit --allow-empty -m 'Has common ancestor'
41 git push $dgitrepo HEAD:master
43 push_and_check HEAD:master
45 git checkout --orphan newroot
46 git commit --allow-empty -m 'Has no common ancestor'
48 push_and_check +HEAD:master