summaryrefslogtreecommitdiff
path: root/builtin/branch.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-05-02 13:53:35 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-02 13:53:35 -0700
commit2fa4fff4b9ba9998685c0b38cbadb49ac38734ce (patch)
treee82c022130c637a6892b11843e5a89178c032908 /builtin/branch.c
parentMerge branch 'zj/diff-stat-smaller-num-columns' (diff)
parentremove blank filename in error message (diff)
downloadtgif-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 8813d2e31c..f12b626a0e 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);