author | Junio C Hamano <gitster@pobox.com> | |
Wed, 30 Jan 2008 22:27:50 +0000 (14:27 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 5 Feb 2008 08:38:41 +0000 (00:38 -0800) | ||
commit | 42ab241cfacdcbae910d51c06fa2870cc94b0af3 | |
tree | 569d5e16ad260dcfd494aa67eb8bb41a21a21a25 | tree | snapshot |
parent | 8441a9a84278718e9bfd49112dcc55136cea394f | commit | diff |
builtin-apply.c: do not feed copy_wsfix() leading '+'
The "patch" parameter used to include leading '+' of an added
line in the patch, and the array was treated as 1-based. Make
it accept the contents of the line alone and simplify the code.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The "patch" parameter used to include leading '+' of an added
line in the patch, and the array was treated as 1-based. Make
it accept the contents of the line alone and simplify the code.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c | diff | blob | history |