diff --git a/build_git.sh b/build_git.sh index 112eec5..908468f 100644 --- a/build_git.sh +++ b/build_git.sh @@ -5,7 +5,7 @@ echo "This may take some time, please sit back and take a coffee." echo "" mkdir -p output -git clone git://github.com/git/git +git clone --depth 1 --shallow-submodules git://github.com/git/git cd git export NO_OPENSSL=1 @@ -16,4 +16,4 @@ make configure ./configure prefix=/root/output make make install -make clean \ No newline at end of file +make clean