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.
Showing
include/git2/attr.h
0 → 100644
src/attr.c
0 → 100644
src/attr.h
0 → 100644
src/attr_file.c
0 → 100644
This diff is collapsed.
Click to expand it.
src/attr_file.h
0 → 100644
tests-clay/attr/file.c
0 → 100644
tests-clay/attr/lookup.c
0 → 100644
tests-clay/attr/repo.c
0 → 100644
tests/resources/attr/.gitattributes
0 → 100644
tests/resources/attr/.gitted/HEAD
0 → 100644
tests/resources/attr/.gitted/config
0 → 100644
tests/resources/attr/.gitted/description
0 → 100644
tests/resources/attr/.gitted/index
0 → 100644
File added
tests/resources/attr/.gitted/info/attributes
0 → 100644
tests/resources/attr/.gitted/info/exclude
0 → 100644
tests/resources/attr/.gitted/logs/HEAD
0 → 100644
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
tests/resources/attr/attr0
0 → 100644
tests/resources/attr/attr1
0 → 100644
tests/resources/attr/attr2
0 → 100644
tests/resources/attr/attr3
0 → 100644
tests/resources/attr/root_test1
0 → 100644
tests/resources/attr/root_test2
0 → 100644
tests/resources/attr/root_test3
0 → 100644
tests/resources/attr/root_test4.txt
0 → 100644
tests/resources/attr/subdir/.gitattributes
0 → 100644
tests/resources/attr/subdir/subdir_test1
0 → 100644
tests/resources/attr/subdir/subdir_test2.txt
0 → 100644
tests/resources/attr/subdir2/subdir2_test1
0 → 100644
Please
register
or
sign in
to comment