##// END OF EJS Templates
add files with a separate `add` call in backport_pr...
MinRK -
Show More
@@ -70,7 +70,13 b" def backport_pr(branch, num, project='ipython/ipython'):"
70
70
71 filenames = [ f['filename'] for f in files ]
71 filenames = [ f['filename'] for f in files ]
72
72
73 commit = Popen(['git', 'commit', '-m', msg] + filenames)
73 add = Popen(['git', 'add'] + filenames)
74 add.wait()
75 if add.returncode:
76 print("add failed!")
77 return 1
78
79 commit = Popen(['git', 'commit', '-m', msg])
74 commit.wait()
80 commit.wait()
75 if commit.returncode:
81 if commit.returncode:
76 print("commit failed!")
82 print("commit failed!")
General Comments 0
You need to be logged in to leave comments. Login now