libgit2/include/git2
Russell Belfer f9775a37aa Add ignore_submodules to diff options
This adds correct support for an equivalent to --ignore-submodules
in diff, where an actual ignore value can be passed to diff to
override the per submodule settings in the configuration.

This required tweaking the constants for ignore values so that
zero would not be used and could represent an unset option to the
diff.  This was an opportunity to move the submodule values into
include/git2/types.h and to rename the poorly named DEFAULT values
for ignore and update constants to RESET instead.

Now the GIT_DIFF_IGNORE_SUBMODULES flag is exactly the same as
setting the ignore_submodules option to GIT_SUBMODULE_IGNORE_ALL
(which is actually a minor change from the old behavior in that
submodules will now be treated as UNMODIFIED deltas instead of
being left out totally - if you set GIT_DIFF_INCLUDE_UNMODIFIED).

This includes tests for the various new settings.
2013-07-10 12:15:03 -07:00
..
sys ...Aaaand this works 2013-05-30 03:47:10 +02:00
attr.h Fixed most documentation header bugs 2013-06-24 15:33:41 +02:00
blob.h Standardize cast versions of git_object accessors 2013-04-29 14:22:06 -07:00
branch.h Fix documentation of git_branch_delete. 2013-05-26 17:29:00 +02:00
checkout.h Add target directory to checkout 2013-06-21 11:55:13 -07:00
clone.h Added support for setting transport flags (No check SSL cert) to git_clone call. 2013-05-31 08:53:22 -04:00
commit.h Add raw header access to commit API 2013-07-10 20:50:32 +02:00
common.h Add GIT_CAP_SSH if library was built with SSH 2013-07-09 16:17:41 -07:00
config.h Fixed most documentation header bugs 2013-06-24 15:33:41 +02:00
cred_helpers.h docs: formatting fixes 2013-04-24 20:25:57 +02:00
diff.h Add ignore_submodules to diff options 2013-07-10 12:15:03 -07:00
errors.h Fixed most documentation header bugs 2013-06-24 15:33:41 +02:00
graph.h graph: make the ahead-behind docs clearer 2013-03-22 20:27:59 +01:00
ignore.h update copyrights 2013-01-08 17:31:27 -06:00
index.h Add API to get path to index file 2013-07-10 12:14:13 -07:00
indexer.h Fixed most documentation header bugs 2013-06-24 15:33:41 +02:00
inttypes.h Unify whitespaces to tabs 2013-05-15 20:26:55 +08:00
merge.h Fixed most documentation header bugs 2013-06-24 15:33:41 +02:00
message.h update copyrights 2013-01-08 17:31:27 -06:00
net.h No bitfields in public headers b/c packing is compiler-specific 2013-02-07 12:47:29 -05:00
notes.h fixed minor issues with new note iterator 2013-03-06 22:36:19 +01:00
object.h object: Export git_object_dup 2013-04-10 16:56:32 +02:00
odb_backend.h Add typedefs on some public enums 2013-05-24 10:32:07 -07:00
odb.h Move odb_backend implementors stuff into git2/sys 2013-04-21 11:50:55 -07:00
oid.h Fixed most documentation header bugs 2013-06-24 15:33:41 +02:00
pack.h Fixed most documentation header bugs 2013-06-24 15:33:41 +02:00
pathspec.h Add git_pathspec_match_diff API 2013-07-10 20:50:33 +02:00
push.h push: fix typo in git_push_finish() doc 2013-02-15 13:12:16 +01:00
refdb.h Move git_reference__alloc to include/git2/sys 2013-04-21 12:52:17 -07:00
reflog.h update copyrights 2013-01-08 17:31:27 -06:00
refs.h Fix docs to use proper enum names that exist. 2013-07-01 00:56:54 +02:00
refspec.h Fixed most documentation header bugs 2013-06-24 15:33:41 +02:00
remote.h Fixed most documentation header bugs 2013-06-24 15:33:41 +02:00
repository.h Add BARE option to git_repository_open_ext 2013-07-10 12:14:13 -07:00
reset.h Unify whitespaces to tabs 2013-05-15 20:26:55 +08:00
revparse.h revparse: Introduce git_revparse_ext() 2013-05-16 21:43:24 +02:00
revwalk.h Clean up minor details 2013-04-15 13:29:40 -07:00
signature.h update copyrights 2013-01-08 17:31:27 -06:00
stash.h Make the git_signature const in the stash API. 2013-07-09 12:52:25 +02:00
status.h Remove GIT_STATUS_SHOW_INDEX_THEN_WORKDIR option 2013-07-03 12:20:34 -07:00
stdint.h msvc: Properly handle inttypes.h/stdint.h 2011-10-05 16:21:16 -04:00
strarray.h Unify whitespaces to tabs 2013-05-15 20:26:55 +08:00
submodule.h Add ignore_submodules to diff options 2013-07-10 12:15:03 -07:00
tag.h tag: Introduce git_tag_annotation_create() 2013-05-21 19:32:59 +02:00
threads.h update copyrights 2013-01-08 17:31:27 -06:00
trace.h Fix trailing whitespaces 2013-05-15 22:41:30 +02:00
transport.h Make SSH APIs present even without SSH support 2013-07-09 09:58:33 -07:00
tree.h Fixed most documentation header bugs 2013-06-24 15:33:41 +02:00
types.h Add ignore_submodules to diff options 2013-07-10 12:15:03 -07:00
version.h libgit2 v0.19.0 "gut merge" 2013-06-25 00:14:45 +02:00