Skip to content

Commit

Permalink
Fetch all commits before referring to some SHA.
Browse files Browse the repository at this point in the history
  • Loading branch information
hfp committed Feb 4, 2021
1 parent ee12e07 commit 8baf7ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .ci/daint.cscs.ch/ocl.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ if [ ! -d "${HOME}/libxsmm" ]; then
git clone https://github.com/hfp/libxsmm.git
fi
cd "${HOME}/libxsmm"
git fetch
git checkout 05cab50ec6f11a86c15c0ed511c5a9066c613dfb

This comment has been minimized.

Copy link
@dev-zero

dev-zero Feb 5, 2021

Contributor

instead of a checkout I usually see a git reset --hard ... in git syncers, just to ensure that all state is reset in case there was a change (possibly also caused due to interrupted process, a rebase on upstream, etc.)

make -j
cd ..
Expand Down

0 comments on commit 8baf7ae

Please sign in to comment.