libgit2/tests/diff
Patrick Steinhardt c0eba379d1 diff_parse: correctly set options for parsed diffs
The function `diff_parsed_alloc` allocates and initializes a
`git_diff_parsed` structure. This structure also contains diff options.
While we initialize its flags, we fail to do a real initialization of
its values. This bites us when we want to actually use the generated
diff as we do not se the option's version field, which is required to
operate correctly.

Fix the issue by executing `git_diff_init_options` on the embedded
struct.
2017-03-14 13:09:35 +01:00
..
binary.c Fix binary diffs 2015-09-25 10:37:41 -07:00
blob.c test-diff-blob: Pass proper nibble sizes 2015-06-26 16:52:26 +02:00
diff_helpers.c patch: show copy information for identical copies 2016-06-25 23:08:30 -04:00
diff_helpers.h diff::parse tests: test parsing a diff 2016-06-25 23:08:04 -04:00
diffiter.c Drop git_patch_to_str 2014-01-22 17:51:32 +01:00
drivers.c diff: don't error out on an invalid regex 2015-08-15 18:46:38 +02:00
format_email.c Merge branch 'pr/3809' 2016-10-09 16:05:48 +01:00
index.c tests: use legitimate object ids 2016-02-28 18:54:56 -05:00
notify.c Fix some warnings 2015-11-20 20:48:51 +02:00
parse.c diff_parse: correctly set options for parsed diffs 2017-03-14 13:09:35 +01:00
patch.c patch: emit binary patches (optionally) 2014-04-22 19:08:21 -05:00
pathspec.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
racediffiter.c Added clar test for #3568 2016-03-23 17:17:02 -04:00
rename.c patch: show copy information for identical copies 2016-06-25 23:08:30 -04:00
stats.c Merge branch 'pr/3809' 2016-10-09 16:05:48 +01:00
submodules.c diff: test submodules are found with trailing / 2016-04-02 13:02:41 -07:00
tree.c Add diff progress callback. 2015-11-02 16:33:58 -05:00
workdir.c tests: use legitimate object ids 2016-02-28 18:54:56 -05:00