diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2019-05-19 16:34:44 +0200 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-05-24 16:16:43 +0200 |
| commit | 4bcebe2c92d52739e2ea7a92abb26df32ffc2423 (patch) | |
| tree | 00ae4ea8f1c9baf39b0c2fd2ea48fdb14b16acf3 /tests/resources | |
| parent | 63adcc4e3436abb163426ee431a6f77c29415b10 (diff) | |
| download | libgit2-4bcebe2c92d52739e2ea7a92abb26df32ffc2423.tar.gz | |
attr: ensure regular attr files can have whitespaceethomson/ignore_spaces
Unlike ignore files, gitattribute files can have flexible whitespace at
the beginning of the line. Ensure that by adding new ignore rules that
we have not impeded correct parsing of attribute files.
Diffstat (limited to 'tests/resources')
| -rw-r--r-- | tests/resources/attr/attr4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/resources/attr/attr4 b/tests/resources/attr/attr4 new file mode 100644 index 000000000..fa88df943 --- /dev/null +++ b/tests/resources/attr/attr4 @@ -0,0 +1,7 @@ +# This is a comment + # This is also a comment +*.java diff=java -crlf myAttr + + NoMyAttr.java !myAttr + + README caveat=unspecified |
