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
@ -657,7 +657,7 @@ static int edit_branch_description(const char *branch_name)
|
||||
fp = fopen(git_path(edit_description), "w");
|
||||
if ((fwrite(buf.buf, 1, buf.len, fp) < buf.len) || fclose(fp)) {
|
||||
strbuf_release(&buf);
|
||||
return error(_("could not write branch description template: %s\n"),
|
||||
return error(_("could not write branch description template: %s"),
|
||||
strerror(errno));
|
||||
}
|
||||
strbuf_reset(&buf);
|
||||
|
Reference in New Issue
Block a user