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