commit 5c0bb9186fe2d65901744b00af24c8c50b3e1d29
Author: Robert Collins <email address hidden>
Date: Mon Aug 10 16:22:26 2015 +1200
Handle git being entirely absent
When we try to find the git directory, if git is not present, treat
that the same as an error from git itself. Sadly tests for this are
nearly impossible to meaningfully write, since we always have git
installed. I can do a mock based test if folk want one.
Reviewed: https:/ /review. openstack. org/210964 /git.openstack. org/cgit/ openstack- dev/pbr/ commit/ ?id=5c0bb9186fe 2d65901744b00af 24c8c50b3e1d29
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5c0bb9186fe2d65 901744b00af24c8 c50b3e1d29
Author: Robert Collins <email address hidden>
Date: Mon Aug 10 16:22:26 2015 +1200
Handle git being entirely absent
When we try to find the git directory, if git is not present, treat
that the same as an error from git itself. Sadly tests for this are
nearly impossible to meaningfully write, since we always have git
installed. I can do a mock based test if folk want one.
Change-Id: If6160d1fb3def8 133bdd0b66105e6 0ef93f80f82
Closes-Bug: #1481468