summaryrefslogtreecommitdiff
path: root/t/t4015-diff-whitespace.sh
Commit message (Collapse)AuthorAgeFilesLines
* t4015: work-around here document problem on Cygwin.Junio C Hamano2006-10-131-6/+6
| | | | Signed-off-by: Junio C Hamano <junio@twinsun.com>
* diff: fix 2 whitespace issuesJohannes Schindelin2006-10-121-0/+122
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>