]> asedeno.scripts.mit.edu Git - git.git/commit
builtin-apply.c: do not feed copy_wsfix() leading '+'
authorJunio C Hamano <gitster@pobox.com>
Wed, 30 Jan 2008 22:27:50 +0000 (14:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2008 08:38:41 +0000 (00:38 -0800)
commit42ab241cfacdcbae910d51c06fa2870cc94b0af3
tree569d5e16ad260dcfd494aa67eb8bb41a21a21a25
parent8441a9a84278718e9bfd49112dcc55136cea394f
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>
builtin-apply.c