summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2016-11-20 12:26:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-11-21 17:30:50 (GMT)
commit358718064be8a81e2e6b536de5f2b7119156f40d (patch)
tree031e6e166d11964d37fe9dc0068d66053e243d8d /sequencer.c
parent2ae38f2a65abae910ff7ad62861414d4333d01fc (diff)
downloadgit-358718064be8a81e2e6b536de5f2b7119156f40d.zip
git-358718064be8a81e2e6b536de5f2b7119156f40d.tar.gz
git-358718064be8a81e2e6b536de5f2b7119156f40d.tar.bz2
i18n: fix unmatched single quote in error message
Fixed unmatched single quote introduced by commit: * f56fffef9a sequencer: teach write_message() to append an optional LF Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c
index fae2bbd..c3bb0e6 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -248,7 +248,7 @@ static int write_message(const void *buf, size_t len, const char *filename,
}
if (append_eol && write(msg_fd, "\n", 1) < 0) {
rollback_lock_file(&msg_file);
- return error_errno(_("could not write eol to '%s"), filename);
+ return error_errno(_("could not write eol to '%s'"), filename);
}
if (commit_lock_file(&msg_file) < 0) {
rollback_lock_file(&msg_file);