diff options
author | Pete Wyckoff <pw@padd.com> | 2012-04-29 20:28:45 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-30 15:45:51 -0700 |
commit | 82247e9bd5f7c90c4eac9674fb7518845cd3e432 (patch) | |
tree | 09fd8632c7e1ec214968eec58ded00184869646f /builtin/branch.c | |
parent | 9768cafe681a7844d5a1d067991053b25db83bbb (diff) | |
download | git-82247e9bd5f7c90c4eac9674fb7518845cd3e432.tar.gz git-82247e9bd5f7c90c4eac9674fb7518845cd3e432.tar.xz |
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>
Diffstat (limited to 'builtin/branch.c')
-rw-r--r-- | builtin/branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/branch.c b/builtin/branch.c index 5f150b4e8..dc353ffe6 100644 --- a/builtin/branch.c +++ b/builtin/branch.c @@ -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); |