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

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

From
PWPhillip Wood <phillip.wood@talktalk.net>
Date
May 19, 2017, 10:13 UTC
Message-ID
<406d017b-b138-72db-d5ad-14ccf5d1f3d4@talktalk.net>
In-Reply-To
<alpine.DEB.2.21.1.1705182321030.3610@virtualbox>
On 18/05/17 22:21, Johannes Schindelin wrote:
Show 11 quoted lines
> Hi Phillip,
> 
> On Thu, 18 May 2017, Phillip Wood wrote:
> 
>> 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.
>> ---
> 
> Please add your Signed-off-by:, and my Acked-by:

Will do (I forgot to add --signoff to git commit). Do I need to resend the other patches with your Acked-by: or will that happen when Junio applies them?

I was thinking about this last night and wonder if it would be better to do

- printf(_("Applied autostash.")); + printf("%s\n", _("Applied autostash."));

rather than

- printf(_("Applied autostash.")); + printf(_("Applied autostash.\n"));

as it would avoid changing the translated string and also mean that the newline couldn't be accidentally removed any typos in the translation.

Best Wishes
Phillip
Previous: Johannes SchindelinNext: Ævar Arnfjörð Bjarmason
Message 5 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.