libgit2/include/git2
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
..
attr.h Support reading attributes from index 2012-05-03 16:37:25 -07:00
blob.h Update Copyright header 2012-02-13 17:11:09 +01:00
branch.h Typedefs don't have enum in front 2012-04-11 14:27:40 +02:00
commit.h commit: actually allow yet to be born update_ref 2012-02-15 13:07:41 +01:00
common.h Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
config.h config: Refactor & add git_config_get_mapped 2012-03-01 00:52:21 +01:00
diff.h Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
errors.h Remove old and unused error codes 2012-05-02 19:56:38 -07:00
index.h Update Copyright header 2012-02-13 17:11:09 +01:00
indexer.h transports: buffer the git requests before sending them 2012-04-25 12:44:27 +02:00
inttypes.h msvc: Properly handle inttypes.h/stdint.h 2011-10-05 16:21:16 -04:00
merge.h Move git_merge_base() to is own header and document it 2012-04-12 20:25:25 +02:00
net.h Update Copyright header 2012-02-13 17:11:09 +01:00
notes.h Add git notes API 2012-02-15 20:32:14 +01:00
object.h Update Copyright header 2012-02-13 17:11:09 +01:00
odb_backend.h Update Copyright header 2012-02-13 17:11:09 +01:00
odb.h Update Copyright header 2012-02-13 17:11:09 +01:00
oid.h Rename git_oid_to_string to git_oid_tostr 2012-03-06 17:51:04 +01:00
reflog.h Update Copyright header 2012-02-13 17:11:09 +01:00
refs.h Rename to git_reference_name_to_oid 2012-04-23 10:06:31 -07:00
refspec.h Remove old and unused error codes 2012-05-02 19:56:38 -07:00
remote.h Merge branch 'new-error-handling' into development 2012-05-02 15:59:02 -07:00
repository.h Refactor git_repository_open with new options 2012-04-11 12:11:35 -07:00
revwalk.h Move git_merge_base() to is own header and document it 2012-04-12 20:25:25 +02:00
signature.h Update Copyright header 2012-02-13 17:11:09 +01:00
status.h Fix crash in new status and add recurse option 2012-03-23 09:26:09 -07:00
stdint.h msvc: Properly handle inttypes.h/stdint.h 2011-10-05 16:21:16 -04:00
submodule.h Improve config handling for diff,submodules,attrs 2012-03-30 14:40:50 -07:00
tag.h tag: Add git_tag_peel() which recursively peel a tag until a non tag git_object is met 2012-04-10 21:38:49 +02:00
threads.h Update Copyright header 2012-02-13 17:11:09 +01:00
tree.h Revert GIT_STATUS constants to avoid issues 2012-03-02 15:51:55 -08:00
types.h Add basic branch management API: git_branch_create(), git_branch_delete(), git_branch_list() 2012-04-10 21:39:03 +02:00
version.h Update Copyright header 2012-02-13 17:11:09 +01:00
windows.h Update Copyright header 2012-02-13 17:11:09 +01:00