RiotGames/berkshelf — pull request #213 by temujin9 (2012-11-13 00:28:41+00:00)
Title: Make git clones happen into a stable subfolder, and don't reclone if it exists

We have three large repositories with cookbooks in each, which currently get downloaded one time for each cookbook. To keep large multi-cookbook repos from getting needlessly recloned, establish a (per-run) stable path for that cookbook, and assume that the path is valid if it exists (later failures will quickly notify in the incredibly unlikely chance that it both exists, and contains the wrong thing).