populate git: reset --hard

This commit is contained in:
tv 2018-11-13 22:52:44 +01:00
parent 170c46d53c
commit ce37b2a9c2
1 changed files with 1 additions and 2 deletions

View File

@ -40,8 +40,7 @@ let
if ! git log -1 "$hash" >/dev/null 2>&1; then
git fetch origin
fi
git checkout "$hash" -- ${quote target.path}
git -c advice.detachedHead=false checkout -f "$hash"
git reset --hard "$hash" >&2
git submodule update --init --recursive
fi