interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / chainlint / chain-break-continue.test

15 lines · 368 bytes Raw Blame History
1test_expect_success 'chain-break-continue' '
2git ls-tree --name-only -r refs/notes/many_notes |
3while read path
4do
5# LINT: broken &&-chain okay if explicit "continue"
6 test "$path" = "foobar/non-note.txt" && continue
7 test "$path" = "deadbeef" && continue
8 test "$path" = "de/adbeef" && continue
9
10 if test $(expr length "$path") -ne $hexsz
11 then
12 return 1
13 fi
14done
15'