We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa54f0d + e432efb commit 950e806Copy full SHA for 950e806
pre_commit_hooks/destroyed_symlinks.py
@@ -76,11 +76,7 @@ def main(argv: Sequence[str] | None = None) -> int:
76
for destroyed_link in destroyed_links:
77
print(f'- {destroyed_link}')
78
print('You should unstage affected files:')
79
- print(
80
- '\tgit reset HEAD -- {}'.format(
81
- ' '.join(shlex.quote(link) for link in destroyed_links),
82
- ),
83
- )
+ print(f'\tgit reset HEAD -- {shlex.join(destroyed_links)}')
84
print(
85
'And retry commit. As a long term solution '
86
'you may try to explicitly tell git that your '
0 commit comments