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 In memoriam: Cédric DUVAL.
3 This release is dedicated to my good friend, Cédric, who passed
4 away in late September 2011, after a long and stressful struggle
7 Cédric was always prompt to discuss any subject. He was open-minded,
8 and every thing on Earth was of interest to him; Free Software, and
9 Freedom in general, was one of those interests we used to discuss
10 about most. He and I had many a good talk about so many things, and
11 I learned so much from him.
13 Cédric leaves behind him loving and dismayed girl friend and father
14 and mother, and countless saddened friends; we will all dearly miss
17 Do not forget your towel, Cédric.
18 So long, and thanks for all the fish!