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

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

From
Pphillip.wood@talktalk.net <phillip.wood@talktalk.net>
Date
May 19, 2017, 14:32 UTC
Message-ID
<20170519143248.22358-1-phillip.wood@talktalk.net>
In-Reply-To
<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.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
I've added signed-off-by and acked-by lines to the commit message,
otherwise this is unchanged
 sequencer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sequencer.c b/sequencer.c
index 311728a145dfc66e230334221a2610468239932d..4dcf9c8be044247c6c18a4ec2a4675d9df9953eb 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
Previous: Phillip Wood
Message 8 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.