diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-09-14 18:44:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-15 02:41:02 -0700 |
commit | 018cff70462eb59779c96a383531c4440fb35b9c (patch) | |
tree | eff31f630724c8803f4073f4240ee08a553598fd /t/t4013/diff.format-patch_--stdout_initial..master | |
parent | diff.c: split emit_line() from the first char and the rest of the line (diff) | |
download | tgif-018cff70462eb59779c96a383531c4440fb35b9c.tar.xz |
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 <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions