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 / chained-block.test

13 lines · 328 bytes Raw Blame History
1test_expect_success 'chained-block' '
2# LINT: start of block chained to preceding command
3echo nobody home && {
4 test the doohicky
5 right now
6} &&
7
8# LINT: preceding command pipes to block on same line
9GIT_EXTERNAL_DIFF=echo git diff | {
10 read path oldfile oldhex oldmode newfile newhex newmode &&
11 test "z$oh" = "z$oldhex"
12}
13'