From: Junio C Hamano Date: Tue, 15 Sep 2009 01:44:01 +0000 (-0700) Subject: diff.c: emit_add_line() takes only the rest of the line X-Git-Tag: v1.6.5.3~11^2~1^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/018cff70462eb59779c96a383531c4440fb35b9c?hp=018cff70462eb59779c96a383531c4440fb35b9c diff.c: emit_add_line() takes only the rest of the line As the first character on the line that is fed to this function is always "+", it is pointless to send that along with the rest of the line. This change will make it easier to reuse the logic when emitting the rewrite diff, as we do not want to copy a line only to add "+"/"-"/" " immediately before its first character when we produce rewrite diff output. Signed-off-by: Junio C Hamano ---