Skip to content

Commit

Permalink
Merge branch 'ebourne_public_mirror_fix' into 'main'
Browse files Browse the repository at this point in the history
Add safe directory

See merge request gysela-developpers/gyselalibxx!734

--------------------------------------------
  • Loading branch information
EmilyBourne committed Oct 18, 2024
1 parent d19b4b5 commit 53947ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/public_mirror
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ for commit_to_copy in ${commits_to_choose}
do
cd ${SRC_DIR}
git checkout ${commit_to_copy} -f
git config --global --add safe.directory "${SRC_DIR}/vendor"
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' | while read path_key path_val
do
git config --global --add safe.directory "${SRC_DIR}/${path_val}"
done
git submodule update --init -f
git clean -fd
deleted_submodules=$(git ls-files --others --exclude-standard)
Expand Down

0 comments on commit 53947ba

Please sign in to comment.