There was an error while loading. Please reload this page.
2 parents b6bcc8a + 1d4a332 commit f11338cCopy full SHA for f11338c
1 file changed
pre_commit/git.py
@@ -20,7 +20,8 @@ def get_root():
20
return cmd_output('git', 'rev-parse', '--show-toplevel')[1].strip()
21
except CalledProcessError:
22
raise FatalError(
23
- 'Called from outside of the gits. Please cd to a git repository.'
+ 'git failed. Is it installed, and are you in a Git repository '
24
+ 'directory?'
25
)
26
27
0 commit comments