diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-05-22 22:22:07 -0700 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-05-22 22:22:07 -0700 |
commit | fe1f2bfe923e5941b8b988684015b31cba3969ba (patch) | |
tree | 82da7bc30e172e16919072d9813287904e19d1b3 /lib | |
parent | remove a cached build dir before the test (diff) | |
download | jitterbug-fe1f2bfe923e5941b8b988684015b31cba3969ba.tar.gz |
Silence noisy checkout output
Diffstat (limited to 'lib')
-rw-r--r-- | lib/jitterbug/Builder.pm | 4 |
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"); |