aboutsummaryrefslogtreecommitdiff
path: root/builtin/branch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-05-02 13:53:35 -0700
committerJunio C Hamano <gitster@pobox.com>2012-05-02 13:53:35 -0700
commit2fa4fff4b9ba9998685c0b38cbadb49ac38734ce (patch)
treee82c022130c637a6892b11843e5a89178c032908 /builtin/branch.c
parent29c2a3dbadaa1c2d1128a4892241f82f5b34778c (diff)
parent5eaeda70de1e7763d070e8ccfbcd8ca10baea800 (diff)
downloadgit-2fa4fff4b9ba9998685c0b38cbadb49ac38734ce.tar.gz
git-2fa4fff4b9ba9998685c0b38cbadb49ac38734ce.tar.xz
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
Diffstat (limited to 'builtin/branch.c')
-rw-r--r--builtin/branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/branch.c b/builtin/branch.c
index 8813d2e31..f12b626a0 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -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);