From: Peter van Dijk Date: Mon, 1 Jul 2019 08:20:46 +0000 (+0200) Subject: cherry-pick-pr: fix branch name in merge command X-Git-Tag: dnsdist-1.4.0-rc1~80^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8004%2Fhead;p=thirdparty%2Fpdns.git cherry-pick-pr: fix branch name in merge command --- diff --git a/build-scripts/cherry-pick-pr.py b/build-scripts/cherry-pick-pr.py index 1c0319456e..40c125e519 100755 --- a/build-scripts/cherry-pick-pr.py +++ b/build-scripts/cherry-pick-pr.py @@ -54,6 +54,6 @@ if args.merge_into: run_command(command) command = ['git', 'merge', '--no-ff', - 'backport-{}'.format(args.pull_request), '-m', + 'backport-{}-to-{}'.format(args.pull_request, args.merge_into[0].split('/')[-1]), '-m', 'Backport #{}'.format(args.pull_request)] run_command(command)