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

git subtree push mangles commit message newlines

From
JEJaap Eldering <eldering@a-eskwadraat.nl>
Date
Jul 18, 2013, 21:22 UTC
Message-ID
<20130718212233.GB22040@a-eskwadraat.nl>
Hi all,

I recently started using git-subtree and ran into a small issue when pushing to the subtree repository: newlines in the commit message seem not to be preserved.

I was using git-subtree from [1], but can also reproduce this with the version from the main git source-tree commit 634392b26275fe, and I don't see any changes that could affect this behaviour since then.

Best, Jaap

[1] https://github.com/helmo/git/tree/subtree-updates/contrib/subtree
Next: Jaap Eldering
Message 1 of 2 in “git subtree push mangles commit message newlines”
  1. Jaap ElderingJul 18, 2013
  2. Jaap ElderingJul 18, 2013

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.