about summary refs log tree commit diff
path: root/lib/jitterbug
diff options
context:
space:
mode:
authorJonathan "Duke" Leto <jonathan@leto.net>2011-05-22 22:22:07 -0700
committerJonathan "Duke" Leto <jonathan@leto.net>2011-05-22 22:22:07 -0700
commitfe1f2bfe923e5941b8b988684015b31cba3969ba (patch)
tree82da7bc30e172e16919072d9813287904e19d1b3 /lib/jitterbug
parentremove a cached build dir before the test (diff)
downloadjitterbug-fe1f2bfe923e5941b8b988684015b31cba3969ba.tar.gz
Silence noisy checkout output
Diffstat (limited to '')
-rw-r--r--lib/jitterbug/Builder.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/jitterbug/Builder.pm b/lib/jitterbug/Builder.pm
index 01f7075..256d3d5 100644
--- a/lib/jitterbug/Builder.pm
+++ b/lib/jitterbug/Builder.pm
@@ -122,7 +122,9 @@ sub run_task {
             debug("Fetching new commits into $repo");
             system("git fetch");
             debug("Checking out correct commit");
-            system("git checkout " . $task->commit->sha256 );
+
+            # TODO: this may fail on non-unixy systems
+            system("git checkout " . $task->commit->sha256 . " &>/dev/null" );
             chdir $pwd;
         } else {
             debug("Creating new repo");