aboutsummaryrefslogtreecommitdiff
path: root/bin/zigup
diff options
context:
space:
mode:
Diffstat (limited to 'bin/zigup')
-rwxr-xr-xbin/zigup6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/zigup b/bin/zigup
index 7aa7fca..1ca48d4 100755
--- a/bin/zigup
+++ b/bin/zigup
@@ -73,11 +73,11 @@ install_zls() {
zls_path="$zig_root/zls"
if [ ! -d "$zls_path" ]; then
echo "cloning zls"
- git clone https://github.com/zigtools/zls.git "$zls_path"
+ git clone https://github.com/zigtools/zls.git "$zls_path" --depth 1 --single-branch --branch master
fi
cd "$zls_path"
- echo "pulling zls"
- git pull
+ echo "fetching zls"
+ git fetch origin master:master --depth 1
echo "building zls"
zig build -Doptimize=ReleaseSafe