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

[StGit PATCH] Do not append a new line to the backwards compat files (bug #12656)

From
CMCatalin Marinas <catalin.marinas@gmail.com>
Date
Dec 2, 2008, 14:38 UTC
Message-ID
<20081202143839.24221.90893.stgit@localhost.localdomain>

Since the multiline argument wasn't passed to the utils.write_string() function when writing the compatibility description file from the new infrastructure, any older command like push would have committed these new lines.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
---
 stgit/lib/stack.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/stgit/lib/stack.py b/stgit/lib/stack.py
index 47679b6..a72ee22 100644
--- a/stgit/lib/stack.py
+++ b/stgit/lib/stack.py
@@ -58,7 +58,7 @@ class Patch(object):
         write('authdate', d.author.date)
         write('commname', d.committer.name)
         write('commemail', d.committer.email)
-        write('description', d.message)
+        write('description', d.message, multiline = True)
         write('log', write_patchlog().sha1)
         write('top', new_commit.sha1)
         write('bottom', d.parent.sha1)
Next: Karl Hasselström
Message 1 of 2 in “Do not append a new line to the backwards compat files (bug #12656)”
  1. Do not append a new line to the backwards compat files (bug #12656)Catalin Marinas, Dec 2, 2008
  2. Karl HasselströmDec 2, 2008

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.