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-return-exit.expect

19 lines · 426 bytes Raw Blame History
12 case "$(git ls-files)" in
23 one) echo pass one ;;
34 *) echo bad one; return 1 ;;
45 esac &&
56 (
67 case "$(git ls-files)" in
78 two) echo pass two ;;
89 *) echo bad two; exit 1 ;;
910 esac
1011 ) &&
1112 case "$(git ls-files)" in
1213 dir/two"$LF"one) echo pass both ;;
1314 *) echo bad; return 1 ;;
1415 esac &&
1516
1617 for i in 1 2 3 4 ; do
1718 git checkout main -b $i || return $?
1819 test_commit $i $i $i tag$i || return $?
1920 done