[PATCH 3/8] diff.c: simplify caller of emit_line_0

2018-08-13 Thread Stefan Beller
Due to the previous condition we know "set_sign != NULL" at that point. Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- diff.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/diff.c b/diff.c index ae131495216..f6df18af913 100644 --- a/diff.c +++ b/diff.c @@

Re: [PATCH 3/8] diff.c: simplify caller of emit_line_0

2018-08-13 Thread Johannes Schindelin
Hi Stefan, On Fri, 10 Aug 2018, Stefan Beller wrote: > Due to the previous condition we know "set_sign != NULL" at that point. I trust your judgement on that, also on how likely this previous condition is to keep guaranteeing that assumption. Thank you, Dscho > Signed-off-by: Stefan Beller >

[PATCH 3/8] diff.c: simplify caller of emit_line_0

2018-08-10 Thread Stefan Beller
Due to the previous condition we know "set_sign != NULL" at that point. Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- diff.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/diff.c b/diff.c index ae131495216..f6df18af913 100644 --- a/diff.c +++ b/diff.c @@

[PATCH 3/8] diff.c: simplify caller of emit_line_0

2018-07-27 Thread Stefan Beller
Due to the previous condition we know "set_sign != NULL" at that point. Signed-off-by: Stefan Beller --- diff.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/diff.c b/diff.c index 272b0b93834..f7251c89cbb 100644 --- a/diff.c +++ b/diff.c @@ -997,8 +997,7 @@ static void