Show More
@@ -916,8 +916,6 b' class queue:' | |||||
916 | if line.startswith('diff --git'): |
|
916 | if line.startswith('diff --git'): | |
917 | self.diffopts().git = True |
|
917 | self.diffopts().git = True | |
918 | break |
|
918 | break | |
919 | patchf.seek(0) |
|
|||
920 | patchf.truncate() |
|
|||
921 |
|
919 | |||
922 | msg = opts.get('msg', '').rstrip() |
|
920 | msg = opts.get('msg', '').rstrip() | |
923 | if msg: |
|
921 | if msg: | |
@@ -932,6 +930,10 b' class queue:' | |||||
932 | ci += 1 |
|
930 | ci += 1 | |
933 | del comments[ci] |
|
931 | del comments[ci] | |
934 | comments.append(msg) |
|
932 | comments.append(msg) | |
|
933 | ||||
|
934 | patchf.seek(0) | |||
|
935 | patchf.truncate() | |||
|
936 | ||||
935 | if comments: |
|
937 | if comments: | |
936 | comments = "\n".join(comments) + '\n\n' |
|
938 | comments = "\n".join(comments) + '\n\n' | |
937 | patchf.write(comments) |
|
939 | patchf.write(comments) |
General Comments 0
You need to be logged in to leave comments.
Login now