diff options
author | tv <tv@krebsco.de> | 2017-08-10 13:29:14 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-08-10 13:29:14 +0200 |
commit | 046e39ec81b9642c420d6fb2846633448d808b4a (patch) | |
tree | 85fc420ac63e793119c9d2c70c1457d3cd32c2e7 | |
parent | 912ce78a1f0a7f6c0e0a87c0b633a8089cbbd788 (diff) |
git: clone and fetch verboselyv1.2.2
-rw-r--r-- | lib/populate.jq | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/populate.jq b/lib/populate.jq index 911e956..0cc5e7f 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 \"$src_url\" \"$dst_dir\"", + @sh " git clone -v \"$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 origin", + @sh " git fetch -v origin", @sh " git checkout \"$hash\" -- \"$dst_dir\"", @sh " git checkout -f \"$hash\"", @sh " fi", |