Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cuddled.test « chainlint « t - git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0499fa4180596cc4f8c054a7e2a8a640bdb679ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# LINT: first subshell statement cuddled with opening "("; for implementation
# LINT: simplicity, "(..." is split into two lines, "(" and "..."
(cd foo &&
	bar
) &&

# LINT: same with missing "&&"
(cd foo
	bar
) &&

# LINT: closing ")" cuddled with final subshell statement
(
	cd foo &&
	bar) &&

# LINT: "(" and ")" cuddled with first and final subshell statements
(cd foo &&
	bar) &&

# LINT: same with missing "&&"
(cd foo
	bar)