builtin-apply.c: simplify calling site to apply_line()
commit8441a9a84278718e9bfd49112dcc55136cea394f
authorJunio C Hamano <gitster@pobox.com>
Wed, 30 Jan 2008 21:19:58 +0000 (30 13:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2008 08:38:41 +0000 (5 00:38 -0800)
tree60922b7ea390ca3e8cad1830a1ef45fd90edd6c6
parent61e08ccacbfdc6046ccabdfdb01f7755ed5ad8b1
builtin-apply.c: simplify calling site to apply_line()

The function apply_line() changed its behaviour depending on the
ws_error_action, whitespace_error and if the input was a context.
Make its caller responsible for such checking so that we can convert
the function to copy the contents of line while fixing whitespace
breakage more easily.

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