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>
1 # dmalloc debug facility
3 ## depends on ! BACKEND
5 ## help dmalloc helps tracking memory allocation mis-usage
6 ## help such as double-free, use-after-free...
10 prompt "dmalloc version"
11 # Don't remove next line
12 # CT_INSERT_VERSION_BELOW
14 config DMALLOC_V_5_5_2
20 config DMALLOC_VERSION
22 # Don't remove next line
23 # CT_INSERT_VERSION_STRING_BELOW
24 default "5.5.2" if DMALLOC_V_5_5_2