3 # This file is part of secnet.
4 # See LICENCE and this file CREDITS for full list of copyright holders.
5 # SPDX-License-Identifier: GPL-3.0-or-later
6 # There is NO WARRANTY.
8 # best to run this in a git-worktree
9 # example runes in main tree:
10 # git-branch -f pretest && git-branch -f tested `git-merge-base HEAD tested` && git-checkout wip
13 for subtree in base91-c subdirmk base91-python; do
14 st=$(git-subtree split -P $subtree pretest)
20 next=$(git-rev-list --reverse $stl tested..pretest | head -n1)
21 if [ "x$next" = x ]; then break; fi
24 git push . HEAD:tested