Repo creates .git directories with a dangling .git/shallow symlink,
which causes a make error:
make[1]: *** No rule to make target /home/build/out/hotspot/.git/shallow', needed by/home/build/out/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp'. Stop.
Prune .git directories along with .hg directories.
Repo creates .git directories with a dangling .git/shallow symlink, which causes a make error: make[1]: *** No rule to make target
/home/build/out/hotspot/.git/shallow', needed by
/home/build/out/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp'. Stop.Prune .git directories along with .hg directories.