{"thread":{"id":"16556","subject":"[StGit PATCH] Do not append a new line to the backwards compat files (bug #12656)","startedAt":"2008-12-02T14:38:39Z","lastAt":"2008-12-02T15:39:16Z","messageCount":2,"participants":["Catalin Marinas","Karl Hasselström"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"96944","messageId":"20081202143839.24221.90893.stgit@localhost.localdomain","threadId":"16556","inReplyTo":null,"subject":"[StGit PATCH] Do not append a new line to the backwards compat files (bug #12656)","fromName":"Catalin Marinas","fromEmail":"catalin.marinas@gmail.com","sentAt":"2008-12-02T14:38:39Z","receivedAt":"2008-12-02T14:38:39Z","isPatch":true,"sender":{"key":"catalin.marinas@gmail.com","avatar":null},"body":"Since the multiline argument wasn't passed to the utils.write_string()\nfunction when writing the compatibility description file from the new\ninfrastructure, any older command like push would have committed these\nnew lines.\n\nSigned-off-by: Catalin Marinas <catalin.marinas@gmail.com>\n---\n stgit/lib/stack.py |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/stgit/lib/stack.py b/stgit/lib/stack.py\nindex 47679b6..a72ee22 100644\n--- a/stgit/lib/stack.py\n+++ b/stgit/lib/stack.py\n@@ -58,7 +58,7 @@ class Patch(object):\n         write('authdate', d.author.date)\n         write('commname', d.committer.name)\n         write('commemail', d.committer.email)\n-        write('description', d.message)\n+        write('description', d.message, multiline = True)\n         write('log', write_patchlog().sha1)\n         write('top', new_commit.sha1)\n         write('bottom', d.parent.sha1)\n"},{"id":"96953","messageId":"20081202153916.GA19967@diana.vm.bytemark.co.uk","threadId":"16556","inReplyTo":"20081202143839.24221.90893.stgit@localhost.localdomain","subject":"Re: [StGit PATCH] Do not append a new line to the backwards compat files (bug #12656)","fromName":"Karl Hasselström","fromEmail":"kha@treskal.com","sentAt":"2008-12-02T15:39:16Z","receivedAt":"2008-12-02T15:39:16Z","isPatch":true,"sender":{"key":"kha@treskal.com","avatar":"https://gravatar.com/avatar/f0120c734b5279b345075a28521e1ac66acb20c9913ffe9bf6ae97e53f7f3f13?d=mp&s=160"},"body":"On 2008-12-02 14:38:39 +0000, Catalin Marinas wrote:\n\n> Since the multiline argument wasn't passed to the\n> utils.write_string() function when writing the compatibility\n> description file from the new infrastructure, any older command like\n> push would have committed these new lines.\n>\n> Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>\n\nAcked-by: Karl Hasselström <kha@treskal.com>\n\nThanks.\n\n-- \nKarl Hasselström, kha@treskal.com\n      www.treskal.com/kalle\n"}]}