libgit2/tests/resources/attr/attr1
Russell Belfer ee1f0b1aed Add APIs for git attributes
This adds APIs for querying git attributes.  In addition to
the new API in include/git2/attr.h, most of the action is in
src/attr_file.[hc] which contains utilities for dealing with
a single attributes file, and src/attr.[hc] which contains
the implementation of the APIs that merge all applicable
attributes files.
2011-12-20 16:32:58 -08:00

29 lines
438 B
Plaintext

# a comment followed by some blank lines
# another comment that is indented
# variations on fnmatch
pat0 attr0
!pat1 attr1
pat2/ attr2
pat3dir/pat3file attr3
pat4.* attr4
*.pat5 attr5
pat6/pat6/*.pat6 attr6
pat7[a-e]??[xyz] attr7 # with a comment on the line
pat8\ with\ spaces attr8
invalid # attr with no assignments doesn't count
also/invalid
invalid.again/
# next attr is at eof
pat9 attr9