parent
1f75ca96df
commit
db37672abf
@ -734,7 +734,11 @@ def version_from_git(git_exe):
|
|||||||
@property
|
@property
|
||||||
def git(self):
|
def git(self):
|
||||||
if not self._git:
|
if not self._git:
|
||||||
self._git = spack.util.git.git()
|
try:
|
||||||
|
self._git = spack.util.git.git(required=True)
|
||||||
|
except CommandNotFoundError as exc:
|
||||||
|
tty.error(str(exc))
|
||||||
|
raise
|
||||||
|
|
||||||
# Disable advice for a quieter fetch
|
# Disable advice for a quieter fetch
|
||||||
# https://github.com/git/git/blob/master/Documentation/RelNotes/1.7.2.txt
|
# https://github.com/git/git/blob/master/Documentation/RelNotes/1.7.2.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user