| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:6624c049-c024-96e4-4c6d-c4f2324bad4f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 871C:259026:147B854:1B2C583:6B0668EF |
| html-safe-nonce | 2d514bbf1fa187a0d6bc5d68d26719c9c5c42de4050970c8f7e151fed5652372 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzFDOjI1OTAyNjoxNDdCODU0OjFCMkM1ODM6NkIwNjY4RUYiLCJ2aXNpdG9yX2lkIjoiMzEyNDMyNzAxMjk4MzI2OTYxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e571d1d6cc4848c486f2dbd51788c9e5ce659f850f38a4f79def5922ccf078e4 |
| hovercard-subject-tag | pull_request:471155085 |
| github-keyboard-shortcuts | repository,commits,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/pre-commit/pre-commit/1566/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d1e19891d3f356592b73aa5e058e1329d6a1032cc7ec394b354dc8677599b5fd/pre-commit/pre-commit/pull/1566 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d1e19891d3f356592b73aa5e058e1329d6a1032cc7ec394b354dc8677599b5fd/pre-commit/pre-commit/pull/1566 |
| og:image:alt | This reduces the number of calls to git diff by about half, as discussed in #1564
Validated locally on a large repository.
Overall duration before: 7.93s
Overall duration after: 5.01s |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jhenkens |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297 |
| turbo-cache-control | no-cache |
| 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 | 7f0aa75f4141d440c6110dc31af7ea7797abb6c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/pre-commit/pre-commit/pull/1566#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fpull%2F1566 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fpull%2F1566 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=pre-commit%2Fpre-commit |
| Reload | https://github.com/pre-commit/pre-commit/pull/1566 |
| Reload | https://github.com/pre-commit/pre-commit/pull/1566 |
| Reload | https://github.com/pre-commit/pre-commit/pull/1566 |
| pre-commit | https://github.com/pre-commit |
| pre-commit | https://github.com/pre-commit/pre-commit |
| Code | https://github.com/pre-commit/pre-commit |
| Issues17 (17) | https://github.com/pre-commit/pre-commit/issues |
| Pull requests8 (8) | https://github.com/pre-commit/pre-commit/pulls |
| Actions | https://github.com/pre-commit/pre-commit/actions |
| Security and quality | https://github.com/pre-commit/pre-commit/security |
| Insights | https://github.com/pre-commit/pre-commit/insights |
| https://github.com/pre-commit/pre-commit |
| asottile | https://github.com/asottile |
| pre-commit:master | https://github.com/pre-commit/pre-commit/tree/master |
| thetradedesk:master | https://github.com/thetradedesk/pre-commit/tree/master |
| Conversation | https://github.com/pre-commit/pre-commit/pull/1566 |
| Commits1 (1) | https://github.com/pre-commit/pre-commit/pull/1566/commits |
| Checks | https://github.com/pre-commit/pre-commit/pull/1566/checks |
| Files changed | https://github.com/pre-commit/pre-commit/pull/1566/files |
| Save diff between hook executions | https://github.com/pre-commit/pre-commit/pull/1566#top |
| asottile | https://github.com/asottile |
| pre-commit:master | https://github.com/pre-commit/pre-commit/tree/master |
| thetradedesk:master | https://github.com/thetradedesk/pre-commit/tree/master |
|
| https://github.com/jhenkens |
| jhenkens | https://github.com/jhenkens |
| Aug 20, 2020 | https://github.com/pre-commit/pre-commit/pull/1566#issue-682994089 |
| #1564 | https://github.com/pre-commit/pre-commit/issues/1564 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| https://github.com/jhenkens |
| jhenkens | https://github.com/jhenkens |
| force-pushed | https://github.com/pre-commit/pre-commit/compare/4e074e09a3cea63324155b0ce5a30f69163433c9..370642ba596154337fe8f061ed8004e06c45e399 |
| 4e074e0 | https://github.com/pre-commit/pre-commit/commit/4e074e09a3cea63324155b0ce5a30f69163433c9 |
| 370642b | https://github.com/pre-commit/pre-commit/commit/370642ba596154337fe8f061ed8004e06c45e399 |
|
Compare
| https://github.com/pre-commit/pre-commit/compare/4e074e09a3cea63324155b0ce5a30f69163433c9..370642ba596154337fe8f061ed8004e06c45e399 |
| August 20, 2020 18:37 | https://github.com/pre-commit/pre-commit/pull/1566#event-3676613967 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
|
Aug 20, 2020
| https://github.com/pre-commit/pre-commit/pull/1566#pullrequestreview-471886292 |
|
View reviewed changes
| https://github.com/pre-commit/pre-commit/pull/1566/files |
| pre_commit/commands/run.py | https://github.com/pre-commit/pre-commit/pull/1566/files#diff-94a8d858af77f7e9a4784c7befe9630e10e9396bb96d2470a2314e8513c95885 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| pre_commit/commands/run.py | https://github.com/pre-commit/pre-commit/pull/1566/files#diff-94a8d858af77f7e9a4784c7befe9630e10e9396bb96d2470a2314e8513c95885 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| pre_commit/commands/run.py | https://github.com/pre-commit/pre-commit/pull/1566/files#diff-94a8d858af77f7e9a4784c7befe9630e10e9396bb96d2470a2314e8513c95885 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| pre_commit/commands/run.py | https://github.com/pre-commit/pre-commit/pull/1566/files#diff-94a8d858af77f7e9a4784c7befe9630e10e9396bb96d2470a2314e8513c95885 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| https://github.com/jhenkens |
| jhenkens | https://github.com/jhenkens |
| asottile | https://github.com/asottile |
| August 20, 2020 21:32 | https://github.com/pre-commit/pre-commit/pull/1566#event-3677192197 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
| Aug 22, 2020 | https://github.com/pre-commit/pre-commit/pull/1566#issuecomment-678574417 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| https://github.com/jhenkens |
| jhenkens | https://github.com/jhenkens |
| Aug 22, 2020 | https://github.com/pre-commit/pre-commit/pull/1566#issuecomment-678575726 |
| https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork | https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
| Aug 22, 2020 | https://github.com/pre-commit/pre-commit/pull/1566#issuecomment-678576326 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| https://github.com/jhenkens |
| jhenkens | https://github.com/jhenkens |
| Aug 22, 2020 | https://github.com/pre-commit/pre-commit/pull/1566#issuecomment-678578383 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
| Aug 22, 2020 | https://github.com/pre-commit/pre-commit/pull/1566#issuecomment-678578476 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
| Aug 22, 2020 | https://github.com/pre-commit/pre-commit/pull/1566#issuecomment-678578544 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
|
Aug 22, 2020
| https://github.com/pre-commit/pre-commit/pull/1566#ref-pullrequest-443091094 |
|
Add advice to "Files were modified…" error
#1031
| https://github.com/pre-commit/pre-commit/pull/1031 |
| Save diff between hook executions | https://github.com/pre-commit/pre-commit/pull/1566/commits/4063730925f19c860c2f402bf86b733ba97c2630 |
| 4063730 | https://github.com/pre-commit/pre-commit/pull/1566/commits/4063730925f19c860c2f402bf86b733ba97c2630 |
| https://github.com/jhenkens |
| jhenkens | https://github.com/jhenkens |
| force-pushed | https://github.com/pre-commit/pre-commit/compare/ecd57a59c38d98200bd63eefad4186b66b80ba22..4063730925f19c860c2f402bf86b733ba97c2630 |
| ecd57a5 | https://github.com/pre-commit/pre-commit/commit/ecd57a59c38d98200bd63eefad4186b66b80ba22 |
| 4063730 | https://github.com/pre-commit/pre-commit/commit/4063730925f19c860c2f402bf86b733ba97c2630 |
|
Compare
| https://github.com/pre-commit/pre-commit/compare/ecd57a59c38d98200bd63eefad4186b66b80ba22..4063730925f19c860c2f402bf86b733ba97c2630 |
| August 22, 2020 03:41 | https://github.com/pre-commit/pre-commit/pull/1566#event-3681657232 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
|
Aug 22, 2020
| https://github.com/pre-commit/pre-commit/pull/1566#pullrequestreview-472894365 |
|
View reviewed changes
| https://github.com/pre-commit/pre-commit/pull/1566/files/4063730925f19c860c2f402bf86b733ba97c2630 |
| asottile | https://github.com/asottile |
| https://github.com/pre-commit/pre-commit/pull/1566#pullrequestreview-472894365 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/614d0be849a9e7e43e93861404f5ea3951c18bac5c6eed2201c0dae06fcfb1f9/68747470733a2f2f692e666c756666792e63632f71487a66634236425a395a44374b3377466b6e714c737248717371353662504d2e676966 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
| 9a5461d | https://github.com/pre-commit/pre-commit/commit/9a5461db24beeee9960423b853cfbfbaefb6cc7a |
| Aug 22, 2020 | https://github.com/pre-commit/pre-commit/pull/1566#event-3681669496 |
| https://github.com/jhenkens |
| jhenkens | https://github.com/jhenkens |
|
Aug 25, 2020
| https://github.com/pre-commit/pre-commit/pull/1566#ref-issue-682778735 |
|
Idea: Improve hook speed by skipping before/after diff via readonly flag
#1564
| https://github.com/pre-commit/pre-commit/issues/1564 |
| https://github.co/hiddenchars |
| https://github.com/pre-commit/pre-commit/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fpull%2F1566 |
|
| https://github.com/asottile |
|
asottile
| https://github.com/asottile |
|
| https://github.com/pre-commit/pre-commit/pull/1566/files/4063730925f19c860c2f402bf86b733ba97c2630 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
| Please reload this page | https://github.com/pre-commit/pre-commit/pull/1566 |
|
| https://github.com/jhenkens |
|
| https://github.com/asottile |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |