author | Junio C Hamano <gitster@pobox.com> | |
Fri, 4 Sep 2009 05:26:33 +0000 (22:26 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 4 Sep 2009 18:50:26 +0000 (11:50 -0700) | ||
commit | 92a1747eeab6bc497db748e79ca4f029b1c1dc10 | |
tree | dadc11bea2b4f3a2ab831c14a075ea8483f63145 | tree | snapshot |
parent | efa574438fca4ed328d2e47ecdb6363c50a905ec | commit | diff |
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>
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 | diff | blob | history |