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

[PATCH] rebase -i: Add missing newline to end of message

From
PWPhillip Wood <phillip.wood@talktalk.net>
Date
May 18, 2017, 13:41 UTC
Message-ID
<20170518134154.12771-1-phillip.wood@talktalk.net>
From: Phillip Wood <phillip.wood@dunelm.org.uk>
The message that's printed when auto-stashed changes are successfully
restored was missing '\n' at the end.
---
 sequencer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sequencer.c b/sequencer.c
index 311728a14..4dcf9c8be 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -1920,7 +1920,7 @@ static int apply_autostash(struct replay_opts *opts)
 	argv_array_push(&child.args, "apply");
 	argv_array_push(&child.args, stash_sha1.buf);
 	if (!run_command(&child))
-		printf(_("Applied autostash."));
+		printf(_("Applied autostash.\n"));
 	else {
 		struct child_process store = CHILD_PROCESS_INIT;
 
-- 
2.13.0
Next: Ævar Arnfjörð Bjarmason
Message 1 of 8 in “rebase -i: Add missing newline to end of message”
  1. rebase -i: Add missing newline to end of messagePhillip Wood, May 18, 2017
  2. Ævar Arnfjörð BjarmasonMay 18, 2017
  3. Phillip WoodMay 18, 2017
  4. Johannes SchindelinMay 18, 2017
  5. Phillip WoodMay 19, 2017
  6. Ævar Arnfjörð BjarmasonMay 19, 2017
  7. Phillip WoodMay 19, 2017
  8. rebase -i: Add missing newline to end of messagephillip.wood@talktalk.net, May 19, 2017

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.