From a775841721b1e5654480dab2dd596e1a6437e4f4 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer <josef.schlehofer@nic.cz> Date: Tue, 28 May 2019 13:51:27 +0200 Subject: [PATCH] compile_pkgs: git option is depth not deep Thanks to midnightmagic, who pointed out it on IRC channel #turris on Freenode --- compile_pkgs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile_pkgs b/compile_pkgs index 6d4b3576c..245e45088 100755 --- a/compile_pkgs +++ b/compile_pkgs @@ -269,7 +269,7 @@ checkout() { git fetch origin git checkout -f "$githash" else - git fetch ${CLONE_DEEP+--deep 1} origin "$OPENWRT_BRANCH" + git fetch ${CLONE_DEEP+--depth 1} origin "$OPENWRT_BRANCH" git checkout -f "origin/$OPENWRT_BRANCH" fi _checkout_clean -- GitLab