mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fix for newest git
This commit is contained in:
parent
dc612f0219
commit
2bdbd9e7a0
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ def _adjust_args_and_chdir(args):
|
|||
'directory?',
|
||||
)
|
||||
else:
|
||||
if toplevel == '':
|
||||
if toplevel == '': # pragma: no cover (old git)
|
||||
raise FatalError(
|
||||
'git toplevel unexpectedly empty! make sure you are not '
|
||||
'inside the `.git` directory of your repository.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue