test: have git tests actually use git instead of stubs
Description
We use stubbing with the command stubber for some of our tests in our git/git_test.go suite. This is kind of difficult to do and can lead to errors if we're stubbing the wrong command. Using the actual git binary alleviates this (and as a side effect, doesn't mess up other tests in the directory)
Related Issues
How has this been tested?
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by Gary Holtz