Skip to contentSkip to conversation

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

PATCH In review Catalin Marinas 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Do not append a new line to the backwards compat files (bug #12656)

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.

---
 stgit/lib/stack.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
stgit/lib/stack.py +1 -1
index 47679b6..a72ee22 100644
@@ -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)
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Catalin Marinas

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.

Thanks.

Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle