From 83479d48dcb906483585d796d550462d7e021ea8 Mon Sep 17 00:00:00 2001 From: cutelua <33216131+cutelua@users.noreply.github.com> Date: Fri, 8 Mar 2019 13:50:02 +0800 Subject: [PATCH] git clone depth --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6bda7b7..0c1b965 100644 --- a/install.sh +++ b/install.sh @@ -755,7 +755,7 @@ install_v2ray() { cp -rf $(pwd)/* /etc/v2ray/233boy/v2ray else pushd /tmp - git clone https://github.com/233boy/v2ray -b "$_gitbranch" /etc/v2ray/233boy/v2ray + git clone --depth=1 https://github.com/233boy/v2ray -b "$_gitbranch" /etc/v2ray/233boy/v2ray popd fi