blob: ff735e53a72fc70d39806bae3862f40b15edd769 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
## vim:ft=zsh
somefile=$RANDOM
touch $somefile
git add $somefile
git commit -m $somefile
pkg 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 ]]
}
|