From c734fc2a6b015f5b38f30da106736877cfbe02c7 Mon Sep 17 00:00:00 2001 From: Carlos Martín Nieto Date: Sat, 7 Jun 2014 02:58:28 +0200 Subject: Use a submodule for libgit2 This makes building the static version easier as we know where the repo is and that it's has a known-good version. --- script/build-libgit2-static.sh | 5 ----- 1 file changed, 5 deletions(-) (limited to 'script/build-libgit2-static.sh') diff --git a/script/build-libgit2-static.sh b/script/build-libgit2-static.sh index 04c649d..e486d1d 100755 --- a/script/build-libgit2-static.sh +++ b/script/build-libgit2-static.sh @@ -4,11 +4,6 @@ set -ex VENDORED_PATH=vendor/libgit2 -# Make sure we have the latest libgit2 -if [ ! -d $VENDORED_PATH ]; then - git clone --depth 1 --single-branch git://github.com/libgit2/libgit2 $VENDORED_PATH -fi - cd $VENDORED_PATH cmake -DTHREADSAFE=ON \ -- cgit v1.2.3