From: Catalin Marinas Date: Tue, 2 Dec 2008 11:05:27 +0000 (+0000) Subject: Do not append a new line to the backwards compat files (bug #12656) X-Git-Tag: v0.15-rc1~97 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/3f6cd12e78e322891443a77d8fde2e36a0ad3807?ds=inline;hp=--cc 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. Signed-off-by: Catalin Marinas Acked-by: Karl Hasselström --- 3f6cd12e78e322891443a77d8fde2e36a0ad3807 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)