diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-02 22:53:35 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-02 22:53:35 +0200 |
commit | 2fa4fff4b9ba9998685c0b38cbadb49ac38734ce (patch) | |
tree | e82c022130c637a6892b11843e5a89178c032908 /builtin/branch.c | |
parent | Merge branch 'zj/diff-stat-smaller-num-columns' (diff) | |
parent | remove blank filename in error message (diff) | |
download | git-2fa4fff4b9ba9998685c0b38cbadb49ac38734ce.tar.xz git-2fa4fff4b9ba9998685c0b38cbadb49ac38734ce.zip |
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.c | 2 |
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); |