Show More
@@ -924,8 +924,6 b' class queue:' | |||
|
924 | 924 | if line.startswith('diff --git'): |
|
925 | 925 | self.diffopts().git = True |
|
926 | 926 | break |
|
927 | patchf.seek(0) | |
|
928 | patchf.truncate() | |
|
929 | 927 | |
|
930 | 928 | msg = opts.get('msg', '').rstrip() |
|
931 | 929 | if msg: |
@@ -940,6 +938,10 b' class queue:' | |||
|
940 | 938 | ci += 1 |
|
941 | 939 | del comments[ci] |
|
942 | 940 | comments.append(msg) |
|
941 | ||
|
942 | patchf.seek(0) | |
|
943 | patchf.truncate() | |
|
944 | ||
|
943 | 945 | if comments: |
|
944 | 946 | comments = "\n".join(comments) + '\n\n' |
|
945 | 947 | patchf.write(comments) |
General Comments 0
You need to be logged in to leave comments.
Login now