remove superfluous newlines in error messages
The error handling routines add a newline. Remove the duplicate ones in error messages. Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
9768cafe68
commit
82247e9bd5
@ -175,7 +175,7 @@ static void read_props(void)
|
||||
int ch;
|
||||
|
||||
if (!type || t[1] != ' ')
|
||||
die("invalid property line: %s\n", t);
|
||||
die("invalid property line: %s", t);
|
||||
len = atoi(&t[2]);
|
||||
strbuf_reset(&val);
|
||||
buffer_read_binary(&input, &val, len);
|
||||
@ -201,7 +201,7 @@ static void read_props(void)
|
||||
strbuf_reset(&key);
|
||||
continue;
|
||||
default:
|
||||
die("invalid property line: %s\n", t);
|
||||
die("invalid property line: %s", t);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user