Changed paths:
M pkg/vcs/git.go
M pkg/vcs/git_repo_test.go
Log Message:
-----------
pkg/vcs: check for local commit presence before fetching
If the commit is already present locally, we don't need to fetch it.
This also makes us resilient to cases where the remote has force-pushed
and the commit is no longer reachable there (but we still have it).