summaryrefslogtreecommitdiffstats
path: root/t/chainlint/loop-detect-failure.expect
blob: a66025c39d4fca4c5c6441925dc65eaf7f873c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
git init r1 &&
for n in 1 2 3 4 5
do
	echo "This is file: $n" > r1/file.$n &&
	git -C r1 add file.$n &&
	git -C r1 commit -m "$n" || return 1
done &&

git init r2 &&
for n in 1000 10000
do
	printf "%"$n"s" X > r2/large.$n &&
	git -C r2 add large.$n &&
	git -C r2 commit -m "$n" ?!LOOP?!
done