Re: [PATCH 01/10] diff: move line ending check into emit_hunk_header

2016-09-12 Thread Junio C Hamano
Stefan Beller writes: > From: Stefan Beller > > Signed-off-by: Stefan Beller > --- The reason being...? "Doing this would not change any behaviour and would not break anything" may be true, but that is not a reason to do a change. Hopefully it will become clear why this is needed once we loo

[PATCH 01/10] diff: move line ending check into emit_hunk_header

2016-09-10 Thread Stefan Beller
From: Stefan Beller Signed-off-by: Stefan Beller --- diff.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/diff.c b/diff.c index cc8e812..aa50b2d 100644 --- a/diff.c +++ b/diff.c @@ -610,6 +610,9 @@ static void emit_hunk_header(struct emit_callback *ecbdata, }