Title: more clarity for `pre-commit autoupdate --repos` · Issue #3695 · pre-commit/pre-commit · GitHub
Open Graph Title: more clarity for `pre-commit autoupdate --repos` · Issue #3695 · pre-commit/pre-commit
X Title: more clarity for `pre-commit autoupdate --repos` · Issue #3695 · pre-commit/pre-commit
Description: search you tried in the issue tracker autoupdate silent describe your actual problem pre-commit autoupdate --repos matches against the passed-in repos here: pre-commit/pre_commit/commands/autoupdate.py Line 190 in edad968 if not repos or...
Open Graph Description: search you tried in the issue tracker autoupdate silent describe your actual problem pre-commit autoupdate --repos matches against the passed-in repos here: pre-commit/pre_commit/commands/autoupdat...
X Description: search you tried in the issue tracker autoupdate silent describe your actual problem pre-commit autoupdate --repos matches against the passed-in repos here: pre-commit/pre_commit/commands/autoupdat...
Opengraph URL: https://github.com/pre-commit/pre-commit/issues/3695
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"more clarity for `pre-commit autoupdate --repos`","articleBody":"### search you tried in the issue tracker\n\nautoupdate silent\n\n### describe your actual problem\n\n`pre-commit autoupdate --repos` matches against the passed-in repos here:\nhttps://github.com/pre-commit/pre-commit/blob/edad96821ac495ce2a6e4fde26dd4e0b6916d72d/pre_commit/commands/autoupdate.py#L190\n\nIf no repos match, then no futures are created, so the command exits silently.\n\n```console\n$ pre-commit autoupdate --repo https://github.com/pre-commit/pre-comimt-hooks\n# exits with 0 and prints nothing\n```\n\nWondering if it would be clearer to log which passed-in repos don't match any repos in the pre-commit config to make this easier to debug.\n\n### pre-commit --version\n\npre-commit 4.6.0","author":{"url":"https://github.com/mxr","@type":"Person","name":"mxr"},"datePublished":"2026-05-18T18:36:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/3695/pre-commit/issues/3695"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f8b9d5e8-0a6c-e56a-6590-8ae8b32c5a66 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A952:3C7B3B:12D81C5:19DDFAF:6A4DE5CC |
| html-safe-nonce | d9a0a5e96e2088eded03efc72e58fdadf7e3fa20d1b946dab3d11bac4cc0e7e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTUyOjNDN0IzQjoxMkQ4MUM1OjE5RERGQUY6NkE0REU1Q0MiLCJ2aXNpdG9yX2lkIjoiNDE2NjM2ODkwMzEzMDExMzQ4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 01cd0027a2faa502a364cf005d91a2fd8e6d89d1ee7bf48129eefab84d7969f0 |
| hovercard-subject-tag | issue:4471617633 |
| github-keyboard-shortcuts | repository,issues,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit/3695/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ab80600d52ab7fb1647c264b42c528705073969e3b3075e900b90b25d84c3553/pre-commit/pre-commit/issues/3695 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ab80600d52ab7fb1647c264b42c528705073969e3b3075e900b90b25d84c3553/pre-commit/pre-commit/issues/3695 |
| og:image:alt | search you tried in the issue tracker autoupdate silent describe your actual problem pre-commit autoupdate --repos matches against the passed-in repos here: pre-commit/pre_commit/commands/autoupdat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mxr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width