]> git.ipfire.org Git - thirdparty/git.git/commit - ws.c
check_and_emit_line(): rename and refactor
authorJunio C Hamano <gitster@pobox.com>
Thu, 26 Jun 2008 22:35:21 +0000 (15:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Jun 2008 01:13:50 +0000 (18:13 -0700)
commit8f8841e9c8e6a26153b0cf9417c7540cf65ef09f
treeae7ad9eae079372793dd39b7544105f64aba95f7
parent5ff10dd602f5926f0f5a73ae7de5866713428aa7
check_and_emit_line(): rename and refactor

The function name was too bland and not explicit enough as to what it is
checking.  Split it into two, and call the one that checks if there is a
whitespace breakage "ws_check()", and call the other one that checks and
emits the line after color coding "ws_check_emit()".

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