Merge pull request #398 from sanmai-NL/clarify_git_err_msg

Clarify/correct error message
This commit is contained in:
Anthony Sottile
2016-08-18 16:36:33 +02:00
committed by GitHub

View File

@@ -20,7 +20,8 @@ def get_root():
return cmd_output('git', 'rev-parse', '--show-toplevel')[1].strip()
except CalledProcessError:
raise FatalError(
'Called from outside of the gits. Please cd to a git repository.'
'git failed. Is it installed, and are you in a Git repository '
'directory?'
)