Compare commits
2 Commits
c201d4aef5
...
7becb2450f
| Author | SHA1 | Date | |
|---|---|---|---|
|
7becb2450f
|
|||
| ab0da7d2ee |
@@ -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)
|
||||
|
||||
Submodule tests/_support_data/test-repo-base updated: 7bc1195651...e0c7e2a725
Submodule tests/_support_data/test-repo-changed-branches updated: 7bc1195651...3254380703
Submodule tests/_support_data/test-repo-different-tags updated: 7bc1195651...e0c7e2a725
Submodule tests/_support_data/test-repo-new-commits updated: bfcc41e678...f110a678f5
Submodule tests/_support_data/test-repo-reduced updated: 7bc1195651...e0c7e2a725
Submodule tests/_support_data/test-repo-submodules updated: 08b11b83d0...1946eeb4dd
Submodule tests/_support_data/test-repo-submodules-long updated: 5b587d6bbc...85cd87a2fe
Reference in New Issue
Block a user