about summary refs log tree commit diff
path: root/third_party/git/t/chainlint/p4-filespec.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/chainlint/p4-filespec.test')
-rw-r--r--third_party/git/t/chainlint/p4-filespec.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/git/t/chainlint/p4-filespec.test b/third_party/git/t/chainlint/p4-filespec.test
new file mode 100644
index 000000000000..4fd2d6e2b80b
--- /dev/null
+++ b/third_party/git/t/chainlint/p4-filespec.test
@@ -0,0 +1,5 @@
+(
+# LINT: Perforce revspec in filespec not misinterpreted as in-line comment
+	p4 print -1 //depot/fiddle#42 >file &&
+	foobar
+)