mirror of
https://github.com/git/git
synced 2024-10-31 01:43:41 +00:00
32 lines
440 B
Text
32 lines
440 B
Text
|
(
|
||
|
# LINT: opening "(" cuddled with first nested subshell statement
|
||
|
(cd foo &&
|
||
|
bar
|
||
|
) &&
|
||
|
|
||
|
# LINT: same but "&&" missing
|
||
|
(cd foo &&
|
||
|
bar
|
||
|
)
|
||
|
|
||
|
# LINT: closing ")" cuddled with final nested subshell statement
|
||
|
(
|
||
|
cd foo &&
|
||
|
bar) &&
|
||
|
|
||
|
# LINT: same but "&&" missing
|
||
|
(
|
||
|
cd foo &&
|
||
|
bar)
|
||
|
|
||
|
# LINT: "(" and ")" cuddled with first and final subshell statements
|
||
|
(cd foo &&
|
||
|
bar) &&
|
||
|
|
||
|
# LINT: same but "&&" missing
|
||
|
(cd foo &&
|
||
|
bar)
|
||
|
|
||
|
foobar
|
||
|
)
|