libgit2/tests-clar/diff
Russell Belfer f917481ee8 Support reading attributes from index
Depending on the operation, we need to consider gitattributes
in both the work dir and the index.  This adds a parameter to
all of the gitattributes related functions that allows user
control of attribute reading behavior (i.e. prefer workdir,
prefer index, only use index).

This fix also covers allowing us to check attributes (and
hence do diff and status) on bare repositories.

This was a somewhat larger change that I hoped because it had
to change the cache key used for gitattributes files.
2012-05-03 16:37:25 -07:00
..
blob.c diff_output: remove unused parameter 2012-03-21 11:56:01 +01:00
diff_helpers.c Leverage GIT_UNUSED macro to explicitly mark a function parameter as purposely unused 2012-04-30 07:41:33 +02:00
diff_helpers.h diff: provide more context to the consumer of the callbacks 2012-04-30 07:12:26 +02:00
index.c Clean up GIT_UNUSED macros on all platforms 2012-03-02 15:51:55 -08:00
iterator.c Update clar and remove old helpers 2012-04-17 10:35:11 -07:00
patch.c Fix usage of "new" for fieldname in public header 2012-05-02 15:34:58 -07:00
tree.c Support reading attributes from index 2012-05-03 16:37:25 -07:00
workdir.c Update clar and remove old helpers 2012-04-17 10:35:11 -07:00