josejithinps / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

If git is not installed, error is not clear #102

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Affected Version: v1.7.8.1
Environment: Ubuntu 10.10

What steps will reproduce the problem?
1. Run repo init command without having "git" installed

What is the expected output? What do you see instead?
Message such as 

"ERROR: It does not look as though you have git installed" 

Please provide any additional information below.

The repo tool assumed "git" is on your PATH. Perhaps you can check for the 
binary using:

for path in os.environ["PATH"].split(os.pathsep):
   ...

Original issue reported on code.google.com by timothy.okeefe on 4 Jan 2012 at 7:36