From c690f4222abfd76bed8053456a40d41bd27e4c86 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Sat, 11 Jul 2015 17:19:04 +0800 Subject: [PATCH] Use shallow clone to speed up installation --- install/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/installer.sh b/install/installer.sh index 55cf8f9..97f2d18 100755 --- a/install/installer.sh +++ b/install/installer.sh @@ -35,7 +35,7 @@ fi cd $HOME rm -rf .git-webui > /dev/null 2>&1 echo "Cloning git-webui repository" -git clone https://github.com/alberthier/git-webui.git .git-webui +git clone --depth 1 https://github.com/alberthier/git-webui.git .git-webui echo "Enabling auto update" git config --global --replace-all webui.autoupdate true echo "Installing 'webui' alias"