libgit2/tests-clar/diff
Russell Belfer 197b8966db Add hunk/file headers to git_diff_patch_size
This allows git_diff_patch_size to account for hunk headers and
file headers in the returned size.  This required some refactoring
of the code that is used to print file headers so that it could be
invoked by the git_diff_patch_size API.

Also this increases the test coverage and fixes an off-by-one bug
in the size calculation when newline changes happen at the end of
the file.
2013-07-23 14:34:31 -07:00
..
blob.c Add "as_path" parameters to blob and buffer diffs 2013-06-17 17:03:34 -07:00
diff_helpers.c Diff hunk context off by one on long lines 2013-07-05 16:59:38 -07:00
diff_helpers.h More diff rename tests; better split swap handling 2013-05-23 15:06:07 -07:00
diffiter.c Replace diff delta binary with flags 2013-02-20 15:10:21 -08:00
drivers.c Diff hunk context off by one on long lines 2013-07-05 16:59:38 -07:00
index.c Fix some leaks and (possibly) dangling pointers in tests 2012-12-19 08:04:31 +01:00
iterator.c Make iterators use GIT_ITEROVER & smart advance 2013-05-31 12:18:43 -07:00
notify.c Notify '*' pathspec correctly when diffing 2013-04-11 09:59:26 +02:00
patch.c Add hunk/file headers to git_diff_patch_size 2013-07-23 14:34:31 -07:00
pathspec.c tests: Fix memory leak 2013-07-13 14:14:43 +02:00
rename.c Fix compilation warnings 2013-06-29 13:27:55 +02:00
submodules.c Untracked directories with .git should be ignored 2013-07-10 12:15:03 -07:00
tree.c Improve diff config options handling 2013-04-23 12:57:30 -07:00
workdir.c Untracked directories with .git should be ignored 2013-07-10 12:15:03 -07:00