git subtree pull now squashes

This commit is contained in:
Charlton, Scott R 2021-10-31 18:20:51 +00:00
parent f715edb589
commit f1fa927adf

View File

@ -1,6 +1,7 @@
#
# https://code.chs.usgs.gov/coupled/subtrees/iphreeqc-src
# SRC 2020-12-02T18:39:55-07:00
# SRC 2021-10-31T12:20:11-06:00 -- changed pull to squash -- HEAD:f715edb5897985acf0692d2b0bde4ab34379469f
#
image: ${CI_REGISTRY}/coupled/containers/buildpack-deps:bionic-scm
@ -81,7 +82,8 @@ subtree-sync:
export GIT_EDITOR=true
for remote in "${!urls[@]}"; do
git_subtree "pull" "${prefixes[$remote]}" "$remote" "${urls[$remote]}"
# git_subtree "pull" "${prefixes[$remote]}" "$remote" "${urls[$remote]}"
git subtree pull --prefix "${prefixes[$remote]}" --squash "${urls[$remote]}" master
done
for remote in "${!urls[@]}"; do