pbr/pbr
Clark Boylan e7d2825d39 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
2014-12-17 14:21:35 -08:00
..
cmd Write and read more complex git sha info 2014-12-16 14:59:13 -05:00
hooks Only import sphinx during hook processing 2014-12-17 21:29:02 +00:00
tests Only import sphinx during hook processing 2014-12-17 21:29:02 +00:00
__init__.py Remove copyright from empty files 2014-03-03 08:46:50 +00:00
builddoc.py Only import sphinx during hook processing 2014-12-17 21:29:02 +00:00
core.py Allow examining parsing exceptions. 2014-06-28 19:40:15 +12:00
extra_files.py Replace setuptools_git with a smarter approach 2013-08-04 11:30:32 -04:00
find_package.py Refactor hooks file. 2013-06-07 21:47:38 -04:00
options.py Only import sphinx during hook processing 2014-12-17 21:29:02 +00:00
packaging.py Properly check for git before getting git dir 2014-12-17 14:21:35 -08:00
testr_command.py Register testr as a distutil entry point 2014-06-11 16:31:15 +10:00
util.py Only import sphinx during hook processing 2014-12-17 21:29:02 +00:00
version.py Return the real class in VersionInfo __repr__. 2014-03-13 15:00:33 +13:00