SCRIPTS: git-show-backports: add "-s" to proposed cherry-pick commands

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!
This commit is contained in:
Willy Tarreau 2019-11-25 15:51:47 +01:00
parent ff0c8424c8
commit 1a3af78302
1 changed files with 2 additions and 2 deletions

View File

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