1
0
mirror of https://github.com/git/git.git synced 2025-04-04 10:47:21 +00:00
Johannes Schindelin 2344d47fba diff: fix 2 whitespace issues
When whitespace or whitespace change was ignored, the function
xdl_recmatch() returned memcmp() style differences, which is wrong,
since it should return 0 on non-match.

Also, there were three horrible off-by-one bugs, even leading to wrong
hashes in the whitespace special handling.

The issue was noticed by Ray Lehtiniemi.

For good measure, this commit adds a test.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-10-12 09:30:14 -07:00
..
2006-07-10 00:36:44 -07:00
2006-06-23 17:35:27 -07:00
2006-03-25 16:49:58 -08:00
2006-06-23 17:35:27 -07:00
2006-06-23 17:35:27 -07:00
2006-03-25 16:49:58 -08:00
2006-10-12 09:30:14 -07:00
2006-06-23 17:35:27 -07:00