git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] i18n: Fixed unmatched single quote in error message

From
Jiang Xin <worldhello.net@gmail.com>
Date
Nov 20, 2016, 12:26 UTC
Message-ID
<721cdca4d000627fa163da15c515a50fd9529a62.1479644251.git.worldhello.net@gmail.com>
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>
---
 sequencer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sequencer.c b/sequencer.c
index 6f0ff9e413..30b10ba143 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);
-- 
2.11.0.rc0.11.g127c283
Next: Johannes Schindelin
Message 1 of 3 in “i18n: Fixed unmatched single quote in error message”
  1. i18n: Fixed unmatched single quote in error messageJiang Xin, Nov 20, 2016
  2. Johannes SchindelinNov 21, 2016
  3. Junio C HamanoNov 21, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.