We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 099213f commit 53109a0Copy full SHA for 53109a0
pre_commit/commands/autoupdate.py
@@ -79,8 +79,8 @@ def _check_hooks_still_exist_at_rev(
79
hooks_missing = hooks - {hook['id'] for hook in manifest}
80
if hooks_missing:
81
raise RepositoryCannotBeUpdatedError(
82
- f'Cannot update because the tip of HEAD is missing these hooks:\n'
83
- f'{", ".join(sorted(hooks_missing))}',
+ f'Cannot update because the update target is missing these '
+ f'hooks:\n{", ".join(sorted(hooks_missing))}',
84
)
85
86
0 commit comments