libgit2/tests-clar/diff
Russell Belfer a5f9b5f8d8 Diff hunk context off by one on long lines
The diff hunk context string that is returned to xdiff need not
be NUL terminated because the xdiff code just copies the number of
bytes that you report directly into the output.  There was an off
by one in the diff driver code when the header context was longer
than the output buffer size, the output buffer length included
the NUL byte which was copied into the hunk header.

Fixes #1710
2013-07-05 16:59:38 -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 Implement regex pattern diff driver 2013-06-11 11:22:22 -07:00
rename.c Fix compilation warnings 2013-06-29 13:27:55 +02:00
submodules.c Fix bug marking submodule diffs as unmodified 2013-06-27 07:38:27 -07:00
tree.c Improve diff config options handling 2013-04-23 12:57:30 -07:00
workdir.c Add test for fixed diff bug 2013-06-20 15:15:10 -07:00