diff options
author | Clark Boylan <clark.boylan@gmail.com> | 2014-12-17 14:21:35 -0800 |
---|---|---|
committer | Jeremy Stanley <fungi@yuggoth.org> | 2014-12-21 22:21:32 +0000 |
commit | 50a43a18d14f4c2acebbd3fb221400224eb56781 (patch) | |
tree | eba30072d718c483b15328cd5a695a193ac36f65 /setup.cfg | |
parent | c01b8dae1e5ad91d30756140d9b591818444db2d (diff) | |
download | pbr-50a43a18d14f4c2acebbd3fb221400224eb56781.tar.gz |
Properly check for git before getting git dir
We cannot get the git dir if git is not installed. Check that git is
installed before querying for the git dir. Return None if the git dir
cannot be found or if git is not installed.
Change-Id: Ic8e0c74a779b23842369a8cf01fcbf37885202ef
Fixes-bug: 1326682
(cherry picked from commit e7d2825d39fce2111d0d413e63e553603a0e56fb)
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions