]>
git.proxmox.com Git - pve-kernel.git/blob - debian/scripts/export-patchqueue
7 if [ "$#" -ne 3 ]; then
8 echo "USAGE: $0 repo patchdir ref"
9 printf "\t exports patches from 'repo' to 'patchdir' based on 'ref'\n"
18 cd "${kernel_submodule}"
19 echo "clearing old exported patchqueue"
20 rm -f "${top}/${kernel_patchdir}"/*.
patch
21 echo "exporting patchqueue using 'git format-patch [...] ${base_ref}.."
28 --diff-algorithm=myers \
29 --output-directory="${top}/${kernel_patchdir}" \
32 git checkout
"${base_ref}"