Merge branch 'va/i18n-remote-comment-to-align'
[gitweb.git] / builtin / branch.c
index 37af77161e4f899f9897db0838f0b736b8450bec..eacec57593fda5dc15c611f0e92b4a6614c5aa00 100644 (file)
@@ -595,8 +595,7 @@ static int edit_branch_description(const char *branch_name)
                    branch_name, comment_line_char);
        if (write_file_gently(git_path(edit_description), "%s", buf.buf)) {
                strbuf_release(&buf);
-               return error(_("could not write branch description template: %s"),
-                            strerror(errno));
+               return error_errno(_("could not write branch description template"));
        }
        strbuf_reset(&buf);
        if (launch_editor(git_path(edit_description), &buf, NULL)) {