mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
remove trailing LF in die() messages
LF at the end of format strings given to die() is redundant because die already adds one on its own. Signed-off-by: Alexander Potashev <aspotashev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
e89e2ed7c2
commit
d75307084d
2
grep.c
2
grep.c
@@ -395,7 +395,7 @@ static int match_expr_eval(struct grep_opt *o,
|
||||
h |= match_expr_eval(o, x->u.binary.right, bol, eol, ctx, 1);
|
||||
break;
|
||||
default:
|
||||
die("Unexpected node type (internal error) %d\n", x->node);
|
||||
die("Unexpected node type (internal error) %d", x->node);
|
||||
}
|
||||
if (collect_hits)
|
||||
x->hit |= h;
|
||||
|
||||
Reference in New Issue
Block a user