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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/gitlab/git/gitattributes')
-rw-r--r--spec/fixtures/gitlab/git/gitattributes16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/fixtures/gitlab/git/gitattributes b/spec/fixtures/gitlab/git/gitattributes
new file mode 100644
index 00000000000..bfe9c8e4ed2
--- /dev/null
+++ b/spec/fixtures/gitlab/git/gitattributes
@@ -0,0 +1,16 @@
+# This is a comment, it should be ignored.
+
+*.txt text
+*.jpg -text
+*.sh eol=lf gitlab-language=shell
+*.haml.* gitlab-language=haml
+foo/bar.* foo
+*.cgi key=value?p1=v1&p2=v2
+/*.png gitlab-language=png
+*.binary binary
+/custom-highlighting/*.gitlab-custom gitlab-language=ruby
+/custom-highlighting/*.gitlab-cgi gitlab-language=erb?parent=json
+
+# This uses a tab instead of spaces to ensure the parser also supports this.
+*.md gitlab-language=markdown
+bla/bla.txt