repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'ps/show-ref'
[git.git]
/
t
/
chainlint
/
loop-detect-failure.expect
blob
a66025c39d4fca4c5c6441925dc65eaf7f873c17
1
git init r1 &&
2
for n in 1 2 3 4 5
3
do
4
echo "This is file: $n" > r1/file.$n &&
5
git -C r1 add file.$n &&
6
git -C r1 commit -m "$n" || return 1
7
done &&
8
9
git init r2 &&
10
for n in 1000 10000
11
do
12
printf "%"$n"s" X > r2/large.$n &&
13
git -C r2 add large.$n &&
14
git -C r2 commit -m "$n" ?!LOOP?!
15
done