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
@ -137,7 +137,7 @@ static int cat_one_file(int opt, const char *exp_type, const char *obj_name)
|
||||
break;
|
||||
|
||||
default:
|
||||
die("git cat-file: unknown option: %s\n", exp_type);
|
||||
die("git cat-file: unknown option: %s", exp_type);
|
||||
}
|
||||
|
||||
if (!buf)
|
||||
|
Reference in New Issue
Block a user