From: Greg Kroah-Hartman Date: Sat, 18 Jun 2016 03:16:59 +0000 (-0700) Subject: scripts/quilt-mail: git trees!!! X-Git-Tag: v3.14.73~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f29e8e360215e501e53fa163bb24f111f26d9d21;p=thirdparty%2Fkernel%2Fstable-queue.git scripts/quilt-mail: git trees!!! --- diff --git a/scripts/quilt-mail b/scripts/quilt-mail index b91fe7ae5d0..a6f2e390571 100755 --- a/scripts/quilt-mail +++ b/scripts/quilt-mail @@ -67,7 +67,7 @@ git log --abbrev=12 --format="%aN <%aE>%n %s%n" ${VERSION}..HEAD > ${TMP_LOG} # clean up the git tree by deleting it cd ${ORIGINAL_DIR} -rm -rf ${TMP_TREE} +#rm -rf ${TMP_TREE} echo "Creating the mailbox for kernel release ${FULL_VERSION}" @@ -85,6 +85,8 @@ echo "Anything received after that time might be too late." echo "" echo "The whole patch series can be found in one patch at:" echo " kernel.org/pub/linux/kernel/v${VER}/stable-review/patch-${FULL_VERSION}.gz" +echo "or in the git tree and branch at:" +echo " git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-${ROOT_VERSION}.y" echo "and the diffstat can be found below." echo "" echo "thanks," @@ -149,5 +151,14 @@ echo "kup --host=gregkh@geb.kernel.org put patch-${FULL_VERSION} patch-${FULL_VE echo "git send-email msg.*" >> ${TMP_DIR}/send_it_off chmod 755 ${TMP_DIR}/send_it_off + +# Push a version of the patches out to the world in a git tree +cd ${TMP_TREE} +git checkout linux-${ROOT_VERSION}.y +git merge -q temp_branch^ +echo "git push --force gitolite@ra.kernel.org:/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-${ROOT_VERSION}.y" +git push --force gitolite@ra.kernel.org:/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-${ROOT_VERSION}.y + + echo "cd ${TMP_DIR}" echo "./send_it_off"