libgit2/include/git2
Russell Belfer 71a3d27ea6 Replace diff delta binary with flags
Previously the git_diff_delta recorded if the delta was binary.
This replaces that (with no net change in structure size) with
a full set of flags.  The flag values that were already in use
for individual git_diff_file objects are reused for the delta
flags, too (along with renaming those flags to make it clear that
they are used more generally).

This (a) makes things somewhat more consistent (because I was
using a -1 value in the "boolean" binary field to indicate unset,
whereas now I can just use the flags that are easier to understand),
and (b) will make it easier for me to add some additional flags to
the delta object in the future, such as marking the results of a
copy/rename detection or other deltas that might want a special
indicator.

While making this change, I officially moved some of the flags that
were internal only into the private diff header.

This also allowed me to remove a gross hack in rename/copy detect
code where I was overwriting the status field with an internal
value.
2013-02-20 15:10:21 -08:00
..
attr.h update copyrights 2013-01-08 17:31:27 -06:00
blob.h update copyrights 2013-01-08 17:31:27 -06:00
branch.h Teach remote branch to return its remote 2013-02-11 11:36:22 -05:00
checkout.h Add GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH 2013-01-10 15:15:37 -08:00
clone.h Clone: fetch all tags 2013-02-06 13:07:56 -08:00
commit.h update copyrights 2013-01-08 17:31:27 -06:00
common.h opts: Add getters too 2013-01-23 23:44:34 +01:00
config.h update copyrights 2013-01-08 17:31:27 -06:00
cred_helpers.h Add user-from-url param to auth callback 2013-01-31 10:44:57 -08:00
diff.h Replace diff delta binary with flags 2013-02-20 15:10:21 -08:00
errors.h errors: Introduce EMERGECONFLICT error code 2013-01-11 19:30:57 +01:00
graph.h update copyrights 2013-01-08 17:31:27 -06:00
ignore.h update copyrights 2013-01-08 17:31:27 -06:00
index.h index: Enhance documentation 2013-02-05 15:47:16 +01:00
indexer.h Document callback-triggered cancellation 2013-02-05 12:06:14 -08:00
inttypes.h Fixed compilation with VS >= 2010 2012-12-28 13:47:13 +01:00
merge.h update copyrights 2013-01-08 17:31:27 -06: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 update copyrights 2013-01-08 17:31:27 -06:00
object.h update copyrights 2013-01-08 17:31:27 -06:00
odb_backend.h Sane refresh logic 2013-01-10 15:34:56 +01:00
odb.h Sane refresh logic 2013-01-10 15:34:56 +01:00
oid.h update copyrights 2013-01-08 17:31:27 -06:00
pack.h update copyrights 2013-01-08 17:31:27 -06:00
push.h push: fix typo in git_push_finish() doc 2013-02-15 13:12:16 +01:00
reflog.h update copyrights 2013-01-08 17:31:27 -06:00
refs.h push: properly handle tags 2013-01-09 17:05:21 +01:00
refspec.h Teach refspec to transform destination reference to source reference 2013-02-11 11:36:28 -05:00
remote.h remote: Introduce git_remote_is_valid_name() 2013-02-11 23:19:41 +01:00
repository.h update copyrights 2013-01-08 17:31:27 -06:00
reset.h reset: Introduce git_reset_default() 2013-02-05 20:33:03 +01:00
revparse.h update copyrights 2013-01-08 17:31:27 -06:00
revwalk.h update copyrights 2013-01-08 17:31:27 -06:00
signature.h update copyrights 2013-01-08 17:31:27 -06:00
stash.h update copyrights 2013-01-08 17:31:27 -06:00
status.h update copyrights 2013-01-08 17:31:27 -06:00
stdint.h msvc: Properly handle inttypes.h/stdint.h 2011-10-05 16:21:16 -04:00
strarray.h update copyrights 2013-01-08 17:31:27 -06:00
submodule.h update copyrights 2013-01-08 17:31:27 -06:00
tag.h update copyrights 2013-01-08 17:31:27 -06:00
threads.h update copyrights 2013-01-08 17:31:27 -06:00
transport.h No bitfields in public headers b/c packing is compiler-specific 2013-02-07 12:47:29 -05:00
tree.h Added git_treebuilder_entrycount 2013-01-28 16:35:43 -06:00
types.h update copyrights 2013-01-08 17:31:27 -06:00
version.h update copyrights 2013-01-08 17:31:27 -06:00