Skip to content

Commit bb29f17

Browse files
authored
Don't prefix the commit message with branch number. (GH-39)
Only add the branch prefix to the PR title. Use cherry_picker v0.2.4 Closes python/miss-islington#38
1 parent 8ac8fbd commit bb29f17

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

backport/tasks.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ def backport_task(commit_hash, branch, *, issue_number, created_by, merged_by):
4646
cherry_picker {commit_hash} {branch}
4747
```
4848
""")
49-
cp = cherry_picker.CherryPicker('origin', commit_hash, [branch])
49+
cp = cherry_picker.CherryPicker('origin', commit_hash, [branch],
50+
prefix_commit=False)
5051
try:
5152
cp.backport()
5253
except cherry_picker.BranchCheckoutException:

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cherry_picker
1+
cherry_picker==0.2.4
22
aiohttp
33
gidgethub
44
cachetools

0 commit comments

Comments
 (0)