From: Hugo Villeneuve Date: Mon, 29 May 2023 14:10:06 +0000 (-0400) Subject: hvsp: put series at end of branch name X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=0d8c69e7ea031ac2ec8589a15f36112dfa9383b7;p=hvutilities.git hvsp: put series at end of branch name To have better alphabetical order when listing similar branches. --- diff --git a/scripts/kernel-send-patches.sh b/scripts/kernel-send-patches.sh index 10d93ef..e98cd3f 100755 --- a/scripts/kernel-send-patches.sh +++ b/scripts/kernel-send-patches.sh @@ -232,14 +232,12 @@ rm -rf ${srcdir}/*.patch # If the cover letter is not between start and end commits, save a copy: cp ${srcdir}/cover-letter.txt /tmp -patches_branch="kernel_send_patches" +patches_branch="hv_send_patches_$(basename ${srcdir})" if [ x"${series}" != x"" ]; then patches_branch="${patches_branch}_v${series}" fi -patches_branch="${patches_branch}_$(basename ${srcdir})" - orig_branch=$(git branch --show-current) if [ x"${orig_branch}" = x"" ]; then