From f72676274ea48b9498ca2b5b1b9e5a0890a8ce2a Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 Sep 2017 22:26:58 +0200 Subject: Revert "git: clone and fetch verbosely" This reverts commit 046e39ec81b9642c420d6fb2846633448d808b4a. --- lib/populate.jq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/populate.jq b/lib/populate.jq index b0615e0..4d77800 100644 --- a/lib/populate.jq +++ b/lib/populate.jq @@ -50,7 +50,7 @@ def git_script: @sh " src_ref=$3", @sh " if ! test -e \"$dst_dir\"; then", - @sh " git clone -v \"$src_url\" \"$dst_dir\"", + @sh " git clone \"$src_url\" \"$dst_dir\"", @sh " fi", @sh " cd \"$dst_dir\"", @@ -65,7 +65,7 @@ def git_script: @sh " hash=$src_ref", @sh " if ! test \"$(git log --format=%H -1)\" = \"$hash\"; then", - @sh " git fetch -v origin", + @sh " git fetch origin", @sh " git checkout \"$hash\" -- \"$dst_dir\"", @sh " git checkout -f \"$hash\"", @sh " fi", -- cgit v1.2.3 From e29490e2366d98ee8f1f00e5215a88851c8118f6 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 Sep 2017 22:38:05 +0200 Subject: git: echo what we are fetching --- lib/populate.jq | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/populate.jq b/lib/populate.jq index 4d77800..e269d05 100644 --- a/lib/populate.jq +++ b/lib/populate.jq @@ -73,6 +73,7 @@ def git_script: @sh " git clean -dxf", @sh ")}", ($git_sources[] | + @sh "echo fetch_git \(.key) \(.value.git.url) \(.value.git.ref)", @sh "fetch_git \(.key) \(.value.git.url) \(.value.git.ref)"); -- cgit v1.2.3