Merge branch 'pw/message-cleanup'

Many error/warning messages had extra trailing newlines that are
unnecessary.

By Pete Wyckoff
* pw/message-cleanup:
  remove blank filename in error message
  remove superfluous newlines in error messages
This commit is contained in:
Junio C Hamano
2012-05-02 13:53:35 -07:00
15 changed files with 24 additions and 24 deletions

View File

@ -663,7 +663,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);