about summary refs log blame commit diff
path: root/third_party/git/t/chainlint/nested-subshell.test
blob: 998b05a47d300570faf8ff16b584517677a21567 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                         
(
	cd foo &&
	(
		echo a &&
		echo b
	) >file &&

	cd foo &&
	(
# LINT: nested multi-line subshell not presently checked for missing "&&"
		echo a
		echo b
	) >file
)