]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
SCRIPTS: git-show-backports: add "-s" to proposed cherry-pick commands
authorWilly Tarreau <w@1wt.eu>
Mon, 25 Nov 2019 14:51:47 +0000 (15:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Nov 2019 14:51:47 +0000 (15:51 +0100)
Since we're using signed-off-by tags for backports, let's add -s to
the command so that we can finally copy-paste it!

scripts/git-show-backports

index ab44eaf1be21d46567488248f5ec9acc6c2de312..0fad6c1e5f92083226eff49b72b82d5dc2751263 100755 (executable)
@@ -251,10 +251,10 @@ dump_commit_matrix | column -t | \
                echo
                echo "In order to show and/or apply all leftmost commits to current branch :"
                echo "   git show ${left_commits[@]}"
-               echo "   git cherry-pick -x ${left_commits[@]}"
+               echo "   git cherry-pick -sx ${left_commits[@]}"
                echo
                echo "In order to show and/or apply all rightmost commits to current branch :"
                echo "   git show ${right_commits[@]}"
-               echo "   git cherry-pick -x ${right_commits[@]}"
+               echo "   git cherry-pick -sx ${right_commits[@]}"
        fi
 )