apply.c: split check_whitespace() into two
commit92a1747eeab6bc497db748e79ca4f029b1c1dc10
authorJunio C Hamano <gitster@pobox.com>
Fri, 4 Sep 2009 05:26:33 +0000 (3 22:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Sep 2009 18:50:26 +0000 (4 11:50 -0700)
treedadc11bea2b4f3a2ab831c14a075ea8483f63145
parentefa574438fca4ed328d2e47ecdb6363c50a905ec
apply.c: split check_whitespace() into two

This splits the logic to record the presence of whitespace errors out of
the check_whitespace() function, which checks and then records.  The new
function, record_ws_error(), can be used by the blank-at-eof check that
does not use ws_check() logic to report its findings in the same output
format.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c