author | Wincent Colaiuta <win@wincent.com> | |
Wed, 12 Dec 2007 16:22:59 +0000 (17:22 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 12 Dec 2007 19:24:33 +0000 (11:24 -0800) | ||
commit | 86f8c2368523db5ee56c8856748b26c31ebeb0aa | |
tree | 67b964850ce5906c98893530f59ccff249843a22 | tree | snapshot |
parent | f604652e05073aaef6d83e83b5d6499b55bb6dfd | commit | diff |
Fix "diff --check" whitespace detection
"diff --check" would only detect spaces before tabs if a tab was the
last character in the leading indent. Fix that and add a test case to
make sure the bug doesn't regress in the future.
Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
"diff --check" would only detect spaces before tabs if a tab was the
last character in the leading indent. Fix that and add a test case to
make sure the bug doesn't regress in the future.
Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c | diff | blob | history | |
t/t4015-diff-whitespace.sh | diff | blob | history |