summaryrefslogtreecommitdiff
path: root/test/push
blob: d4f1894dc8108f8894919b24e65118abbc8b6293 (plain)
1
2
3
4
5
6
7
8
9
10
11
## vim:ft=zsh
somefile=$RANDOM
touch $somefile
git add $somefile
git commit --quiet -m $somefile
ct push
if [[ $repo == *-bare ]] {
	[[ $(git --git-dir=$test_proot/$repo log --pretty=oneline | head -1) == *$somefile ]]
} else {
	[[ $(git --git-dir=$test_proot/$repo/.git log --pretty=oneline | head -1) == *$somefile ]]
}