scripts/functions: Fix CT_ExtractGit function.
Change CT_ExtractGit so that it clones the repository, instead of just
symlinking it. After cloning, any given ref is checked out, or if no
ref is given, the HEAD of the repository is checked out.
This makes CT_Extract behave similar for git repositories as it does
for tarballs, so that it for example can be used for passing glibc-ports
as a git repository.
Signed-off-by: "Esben Haabendal" <esben.haabendal@prevas.dk>
[yann.morin.1998@anciens.enib.fr: fix incomplete var rename]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
5 ## select LIBC_SUPPORT_WIN32THREADS
7 ## help The de-facto standard for Mingw distributions.
11 prompt "Mingw runtime version"
13 # Don't remove next line
14 # CT_INSERT_VERSION_BELOW
19 config MINGWRT_V_select
21 prompt "Other version"
25 config MINGWRT_VERSION
27 prompt "Mingw runtime version" if MINGWRT_V_select
28 # Don't remove next line
29 # CT_INSERT_VERSION_STRING_BELOW
30 default "3.18" if MINGWRT_V_3_18
32 Enter the version number of the mingw runtime files to use