summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2016-11-20 20:26:17 +0800
committerJunio C Hamano <gitster@pobox.com>2016-11-21 09:30:50 -0800
commit358718064be8a81e2e6b536de5f2b7119156f40d (patch)
tree031e6e166d11964d37fe9dc0068d66053e243d8d
parent2ae38f2a65abae910ff7ad62861414d4333d01fc (diff)
downloadgit-js/prepare-sequencer.tar.gz
i18n: fix unmatched single quote in error messagejs/prepare-sequencer
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>
-rw-r--r--sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c
index fae2bbd2ba..c3bb0e6567 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);