Fix for newest git

This commit is contained in:
Anthony Sottile 2019-12-06 09:27:19 -08:00
parent dc612f0219
commit 2bdbd9e7a0

View file

@ -129,7 +129,7 @@ def _adjust_args_and_chdir(args):
'directory?', 'directory?',
) )
else: else:
if toplevel == '': if toplevel == '': # pragma: no cover (old git)
raise FatalError( raise FatalError(
'git toplevel unexpectedly empty! make sure you are not ' 'git toplevel unexpectedly empty! make sure you are not '
'inside the `.git` directory of your repository.', 'inside the `.git` directory of your repository.',