ddollar/anvil — pull request #8 by ryanbrainard (2012-12-07 23:39:31+00:00)
Title: git depth

This adds `--depth 1` to git sourced deployments so that the whole history does not need to be pulled down. I tested it on a large-ish repo with a long history and old checked in binaries (tisk-tisk), and adding `--depth 1` gave 20X performance improvement.

I also removed `git remote update` because builds were hanging for a long time on that, and I'm not really sure why it was needed if the repo was just cloned. Was there a reason for it being there I'm missing?

Also added error handling for bad repo.