diff options
Diffstat (limited to 'spec/fixtures/gitlab/git/gitattributes')
-rw-r--r-- | spec/fixtures/gitlab/git/gitattributes | 16 |
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 |