Compare commits

...

2 Commits

Author SHA1 Message Date
7becb2450f Gen data updated
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-09 21:25:45 +02:00
ab0da7d2ee Revert "Checkout different commits for submodules"
This reverts commit c201d4aef5.
2022-08-09 21:11:27 +02:00
9 changed files with 9 additions and 10 deletions

View File

@@ -3,8 +3,6 @@
new_pwd=$(dirname $(realpath $0))
cd $new_pwd
git config --global init.defaultBranch master
# remove old data, if exists
if [ -d "tool_repos" ]
then
@@ -23,6 +21,7 @@ do
echo ">> $repo"
cd $repo
for i in $(git for-each-ref --format="%(refname:short)" --no-merged=origin/HEAD refs/remotes/origin); do git switch --track $i; done
git branch -D test-head || true
cd ..
done
# recover submodules to initial state (branches will remain)