mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
13 lines
371 B
Text
13 lines
371 B
Text
|
(
|
||
|
# LINT: swallow inline comment (leaving command intact)
|
||
|
foobar && # comment 1
|
||
|
# LINT: mispositioned "&&" (correctly) swallowed with comment
|
||
|
barfoo # wrong position for &&
|
||
|
# LINT: "#" in string not misinterpreted as comment
|
||
|
flibble "not a # comment"
|
||
|
) &&
|
||
|
|
||
|
# LINT: "#" in string in cuddled subshell not misinterpreted as comment
|
||
|
(cd foo &&
|
||
|
flibble "not a # comment")
|