summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brown <ben.brown@codethink.co.uk>2017-05-26 12:05:42 +0100
committerBen Brown <ben.brown@codethink.co.uk>2017-05-26 12:21:03 +0100
commit27cea6b575392162726aacdd059b2e31e41e7479 (patch)
tree8aca78a231378d2827824723e4a88287aaa30813
parent8fdce79a20f4b69a5c2a351cb93ef5e30a392a37 (diff)
downloadybd-benbrown/fix-linux-checkout.tar.gz
Debug: enable logging for clonebenbrown/fix-linux-checkout
-rw-r--r--ybd/repos.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ybd/repos.py b/ybd/repos.py
index cdf1578..5fe9a6b 100644
--- a/ybd/repos.py
+++ b/ybd/repos.py
@@ -233,8 +233,7 @@ def _checkout(name, repo, ref, checkout):
# inside the sandbox. If they were hardlinks, it'd be possible for a
# build to corrupt the repo cache. I think it would be faster if we
# removed --no-hardlinks, though.
- if call(['git', 'clone', '--no-hardlinks', gitdir, checkout],
- stdout=fnull, stderr=fnull):
+ if call(['git', 'clone', '--no-hardlinks', gitdir, checkout]):
app.log(name, 'Git clone failed for', gitdir, exit=True)
with app.chdir(checkout):