Show More
@@ -68,13 +68,8 b" def backport_pr(branch, num, project='ipython/ipython'):" | |||
|
68 | 68 | a,b = p.communicate(patch) |
|
69 | 69 | |
|
70 | 70 | filenames = [ f['filename'] for f in files ] |
|
71 | add = Popen(['git', 'add'] + filenames) | |
|
72 | add.wait() | |
|
73 | if add.returncode: | |
|
74 | print("git add %s failed!" % filenames) | |
|
75 | return 1 | |
|
76 | 71 | |
|
77 | commit = Popen(['git', 'commit', '-m', msg]) | |
|
72 | commit = Popen(['git', 'commit', '-m', msg] + filenames) | |
|
78 | 73 | commit.wait() |
|
79 | 74 | if commit.returncode: |
|
80 | 75 | print("commit failed!") |
General Comments 0
You need to be logged in to leave comments.
Login now