threads / patch / 44516

patchi18n: Fixed unmatched single quote in error message

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

## tl;dr

3 messages between Nov 20, 2016 and Nov 21, 2016. Diffs are folded; open one to read it.

replies: 2people: 3as markdown or json

Jiang Xin· Nov 20, 2016, 12:26 UTC · lore
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(-)
Show changes to sequencer.c +1 −1
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
Johannes Schindelin· Nov 21, 2016, 14:22 UTC · re: Jiang Xin · lore

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

Hi,
On Sun, 20 Nov 2016, Jiang Xin wrote:
Show 5 quoted lines
> 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>
ACK!

Thank you, Dscho

Junio C Hamano· Nov 21, 2016, 17:31 UTC · re: Johannes Schindelin · lore

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

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 14 quoted lines
> Hi,
>
> On Sun, 20 Nov 2016, Jiang Xin wrote:
>
>> 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>
>
> ACK!
>
> Thank you,
> Dscho
Thanks, both.

← back to recent threads