Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/chainlint/loop-detect-failure.expect # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / chainlint / loop-detect-failure.expect` 15 lines ยท 352 bytes Raw Blame History 1 2 git init r1 && 2 3 for n in 1 2 3 4 5 3 4 do 4 5 echo "This is file: $n" > r1/file.$n && 5 6 git -C r1 add file.$n && 6 7 git -C r1 commit -m "$n" || return 1 7 8 done && 8 9 9 10 git init r2 && 10 11 for n in 1000 10000 11 12 do 12 13 printf "%"$n"s" X > r2/large.$n && 13 14 git -C r2 add large.$n && 14 15 git -C r2 commit -m "$n" ?!LINT: missing '|| return 1'?! 15 16 done