Diffusion Scap 5df545014065

Use sh library to wrap git commands.

Authored by mmodell on Nov 1 2017, 10:48 AM.


Use sh library to wrap git commands.

I think this is cleaner than GitPython. I've only partially converted
to using the sh wrapper but all tests pass (and I've added a couple
of new ones)

This also adds a VERSION check for git version and adds --jobs conditionally.

Test Plan: ran nosetests

Reviewers: demon, thcipriani, Release-Engineering-Team

Reviewed By: demon, Release-Engineering-Team

Subscribers: jenkins

Tags: Release-Engineering-Team

Differential Revision: https://phabricator.wikimedia.org/D866