Code

Use shorter error messages for whitespace problems
authorWincent Colaiuta <win@wincent.com>
Fri, 14 Dec 2007 11:23:43 +0000 (12:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Dec 2007 04:51:58 +0000 (20:51 -0800)
commit420f4f04de9b3790da695918ac168d4115665d92
tree12d42e0da97135bf4f7819baccc3396b94142654
parentf817546652812ad5f20a8ab4a4a7290a9759ac4e
Use shorter error messages for whitespace problems

The initial version of the whitespace_error_string() function took the
messages from builtin-apply.c rather than the shorter messages from
diff.c.

This commit addresses Junio's concern that these messages might be too
long (now that we can emit multiple warnings per line).

Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4015-diff-whitespace.sh
ws.c