Defer checking git version until it is needed
Review Request #7405 — Created June 11, 2015 and submitted — Latest diff uploaded
Previously, the
gi
t version was checked in the initialization of the
GitClient
SCM Client. However, with systems that do not havegit
installed, this would result in an error being printed thatgit
could
not be found. We now defer determining the installedgit
version
until we need it, which occurs after we are sure thatgit
is
installed.
Ran unit tests.
Removed
git
from my system and ranrbt status
. Without this patch,
an error message was printed. With it applied, there was no error.