There was an error while loading. Please reload this page.
1 parent 647976f commit 859b2bfCopy full SHA for 859b2bf
1 file changed
tests/pacman/msys-pacman-build.sh
@@ -22,6 +22,11 @@ trap cleanup EXIT
22
git -c core.autocrlf=false clone --depth 1 --branch v7.1.0 \
23
https://gitlab.archlinux.org/pacman/pacman.git "$source_directory"
24
25
+# Git for Windows initially materializes Pacman's source symlinks as files
26
+# containing the link target. Re-check them out through the MSYS runtime.
27
+git -C "$source_directory" config core.symlinks true
28
+git -C "$source_directory" reset --hard HEAD
29
+
30
expected_revision=5683f8477a0afcc6b331766175a83445b2dcfe89
31
actual_revision=$(git -C "$source_directory" rev-parse HEAD)
32
[[ $actual_revision == "$expected_revision" ]] || {
0 commit comments