Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 4c06239 commit 420a15fCopy full SHA for 420a15f
1 file changed
pre_commit/commands/autoupdate.py
@@ -67,6 +67,8 @@ def update(self, tags_only: bool, freeze: bool) -> RevInfo:
67
rev, frozen = exact, rev
68
69
try:
70
+ # workaround for windows -- see #2865
71
+ cmd_output_b(*_git, 'show', f'{rev}:{C.MANIFEST_FILE}')
72
cmd_output(*_git, 'checkout', rev, '--', C.MANIFEST_FILE)
73
except CalledProcessError:
74
pass # this will be caught by manifest validating code
0 commit comments