Skip to content

Commit 5eeef8b

Browse files
committed
configure: Remove git probing logic
This is all in rustbuild already.
1 parent 1572bf1 commit 5eeef8b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

configure

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -820,17 +820,6 @@ if [ $(echo $python_version | grep -c '^Python 2\.7') -ne 1 ]; then
820820
err "Found $python_version, but Python 2.7 is required"
821821
fi
822822

823-
# If we have no git directory then we are probably a tarball distribution
824-
# and shouldn't attempt to load submodules
825-
if [ ! -e ${CFG_SRC_DIR}.git ]
826-
then
827-
probe CFG_GIT git
828-
msg "git: no git directory. disabling submodules"
829-
CFG_DISABLE_MANAGE_SUBMODULES=1
830-
else
831-
probe_need CFG_GIT git
832-
fi
833-
834823
# Use `md5sum` on GNU platforms, or `md5 -q` on BSD
835824
probe CFG_MD5 md5
836825
probe CFG_MD5SUM md5sum

0 commit comments

Comments
 (0)