author | Junio C Hamano <gitster@pobox.com> | |
Wed, 30 Jan 2008 21:19:58 +0000 (13:19 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 5 Feb 2008 08:38:41 +0000 (00:38 -0800) | ||
commit | 8441a9a84278718e9bfd49112dcc55136cea394f | |
tree | 60922b7ea390ca3e8cad1830a1ef45fd90edd6c6 | tree | snapshot |
parent | 61e08ccacbfdc6046ccabdfdb01f7755ed5ad8b1 | commit | diff |
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>
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 | diff | blob | history |