René's URL Explorer Experiment


Title: feature: fetch tag pointing to HEAD in shallow clone by gnought · Pull Request #3617 · pre-commit/pre-commit · GitHub

Open Graph Title: feature: fetch tag pointing to HEAD in shallow clone by gnought · Pull Request #3617 · pre-commit/pre-commit

X Title: feature: fetch tag pointing to HEAD in shallow clone by gnought · Pull Request #3617 · pre-commit/pre-commit

Description: A framework for managing and maintaining multi-language pre-commit hooks. - feature: fetch tag pointing to HEAD in shallow clone by gnought · Pull Request #3617 · pre-commit/pre-commit

Open Graph Description: pre-commit shallow clones do not fetch tags, which leads to errors when a repository depends on tag metadata (see golangci/golangci-lint#6347). This PR adds logic to resolve and fetch the remote ta...

X Description: pre-commit shallow clones do not fetch tags, which leads to errors when a repository depends on tag metadata (see golangci/golangci-lint#6347). This PR adds logic to resolve and fetch the remote ta...

Opengraph URL: https://github.com/pre-commit/pre-commit/pull/3617

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:81491fbd-4cda-a9e9-ac81-15034b32eccb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB75E:3373A3:13FACA4:1A4E95B:6B065D93
html-safe-nonce1e665b4282cb1e3d203e872c1152aa184c42440483036cbceeaf2a6158c26f54
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzVFOjMzNzNBMzoxM0ZBQ0E0OjFBNEU5NUI6NkIwNjVEOTMiLCJ2aXNpdG9yX2lkIjoiMTA2NzIwNTg2NDgyMzYxMDc3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac36750cd8b86dad20cae9c39855757da2d0df1c12b9306827d5e2143d7b994958
hovercard-subject-tagpull_request:3255457330
github-keyboard-shortcutsrepository,commits,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/pre-commit/pre-commit/3617/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cb34651e76df5db67f10216e8aac63f703c7cf39b9c656f160cd223b84a76eb2/pre-commit/pre-commit/pull/3617
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cb34651e76df5db67f10216e8aac63f703c7cf39b9c656f160cd223b84a76eb2/pre-commit/pre-commit/pull/3617
og:image:altpre-commit shallow clones do not fetch tags, which leads to errors when a repository depends on tag metadata (see golangci/golangci-lint#6347). This PR adds logic to resolve and fetch the remote ta...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegnought
hostnamegithub.com
expected-hostnamegithub.com
None6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297
turbo-cache-controlno-cache
go-importgithub.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git
octolytics-dimension-user_id6943086
octolytics-dimension-user_loginpre-commit
octolytics-dimension-repository_id17689377
octolytics-dimension-repository_nwopre-commit/pre-commit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17689377
octolytics-dimension-repository_network_root_nwopre-commit/pre-commit
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7f0aa75f4141d440c6110dc31af7ea7797abb6c4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit/pull/3617#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fpull%2F3617
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fpull%2F3617
Sign uphttps://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
Reloadhttps://github.com/pre-commit/pre-commit/pull/3617
Reloadhttps://github.com/pre-commit/pre-commit/pull/3617
Reloadhttps://github.com/pre-commit/pre-commit/pull/3617
pre-commithttps://github.com/pre-commit
pre-commithttps://github.com/pre-commit/pre-commit
Codehttps://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
Actionshttps://github.com/pre-commit/pre-commit/actions
Security and qualityhttps://github.com/pre-commit/pre-commit/security
Insightshttps://github.com/pre-commit/pre-commit/insights
https://github.com/pre-commit/pre-commit
gnoughthttps://github.com/gnought
pre-commit:mainhttps://github.com/pre-commit/pre-commit/tree/main
gnought:feat/shadow-clone-fetch-taghttps://github.com/gnought/pre-commit/tree/feat/shadow-clone-fetch-tag
Conversationhttps://github.com/pre-commit/pre-commit/pull/3617
Commits7 (7)https://github.com/pre-commit/pre-commit/pull/3617/commits
Checkshttps://github.com/pre-commit/pre-commit/pull/3617/checks
Files changedhttps://github.com/pre-commit/pre-commit/pull/3617/files
feature: fetch tag pointing to HEAD in shallow clonehttps://github.com/pre-commit/pre-commit/pull/3617#top
gnoughthttps://github.com/gnought
pre-commit:mainhttps://github.com/pre-commit/pre-commit/tree/main
gnought:feat/shadow-clone-fetch-taghttps://github.com/gnought/pre-commit/tree/feat/shadow-clone-fetch-tag
https://github.com/gnought
gnoughthttps://github.com/gnought
Feb 6, 2026https://github.com/pre-commit/pre-commit/pull/3617#issue-3907593053
golangci/golangci-lint#6347https://github.com/golangci/golangci-lint/issues/6347
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
https://github.com/gnought
fetch tag pointing to HEAD in shallow clonehttps://github.com/pre-commit/pre-commit/pull/3617/commits/c6b4874025dad2d383a63c0f202fb51577d91172
c6b4874https://github.com/pre-commit/pre-commit/pull/3617/commits/c6b4874025dad2d383a63c0f202fb51577d91172
https://github.com/asottile
asottilehttps://github.com/asottile
Feb 12, 2026https://github.com/pre-commit/pre-commit/pull/3617#issuecomment-3892609655
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
gnoughthttps://github.com/gnought
February 14, 2026 01:28https://github.com/pre-commit/pre-commit/pull/3617#commits-pushed-19b60a6
https://github.com/gnought
Revert "fetch tag pointing to HEAD in shallow clone"https://github.com/pre-commit/pre-commit/pull/3617/commits/19b60a6b487b0a913fd3e21895ec7167abbfef51
19b60a6https://github.com/pre-commit/pre-commit/pull/3617/commits/19b60a6b487b0a913fd3e21895ec7167abbfef51
c6b4874https://github.com/gnought/pre-commit/commit/c6b4874025dad2d383a63c0f202fb51577d91172
https://github.com/gnought
add local tag in shallow clonehttps://github.com/pre-commit/pre-commit/pull/3617/commits/5c9f50b681300c71363b581d6b895565b78eab90
5c9f50bhttps://github.com/pre-commit/pre-commit/pull/3617/commits/5c9f50b681300c71363b581d6b895565b78eab90
https://github.com/gnought
gnoughthttps://github.com/gnought
Feb 13, 2026https://github.com/pre-commit/pre-commit/pull/3617#issuecomment-3898508156
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
@asottilehttps://github.com/asottile
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
https://github.com/asottile
asottilehttps://github.com/asottile
Feb 13, 2026 https://github.com/pre-commit/pre-commit/pull/3617#pullrequestreview-3798717125
View reviewed changes https://github.com/pre-commit/pre-commit/pull/3617/files/5c9f50b681300c71363b581d6b895565b78eab90
pre_commit/store.pyhttps://github.com/pre-commit/pre-commit/pull/3617/files/5c9f50b681300c71363b581d6b895565b78eab90#diff-a52ef0cf627ce783529c259e63d4ea82b77520936a2455cbf4f90ad2fb36d27d
asottilehttps://github.com/asottile
Feb 13, 2026https://github.com/pre-commit/pre-commit/pull/3617#discussion_r2805455621
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
gnoughthttps://github.com/gnought
Feb 14, 2026https://github.com/pre-commit/pre-commit/pull/3617#discussion_r2806858386
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
asottilehttps://github.com/asottile
Feb 14, 2026https://github.com/pre-commit/pre-commit/pull/3617#discussion_r2806860316
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
gnoughthttps://github.com/gnought
Feb 14, 2026https://github.com/pre-commit/pre-commit/pull/3617#discussion_r2806976438
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
asottilehttps://github.com/asottile
Feb 14, 2026https://github.com/pre-commit/pre-commit/pull/3617#discussion_r2807141396
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
gnoughthttps://github.com/gnought
February 14, 2026 21:32https://github.com/pre-commit/pre-commit/pull/3617#commits-pushed-da18066
https://github.com/gnought
Revert "add local tag in shallow clone"https://github.com/pre-commit/pre-commit/pull/3617/commits/da180668ab832432a4cf9b269a651319e818e27a
da18066https://github.com/pre-commit/pre-commit/pull/3617/commits/da180668ab832432a4cf9b269a651319e818e27a
5c9f50bhttps://github.com/gnought/pre-commit/commit/5c9f50b681300c71363b581d6b895565b78eab90
https://github.com/gnought
best-effort fetch tag for HEAD in shallow clonehttps://github.com/pre-commit/pre-commit/pull/3617/commits/55f9ae755e3851d08875072fbf0930d8c2f6b40d
55f9ae7https://github.com/pre-commit/pre-commit/pull/3617/commits/55f9ae755e3851d08875072fbf0930d8c2f6b40d
https://github.com/gnought
gnoughthttps://github.com/gnought
Feb 14, 2026https://github.com/pre-commit/pre-commit/pull/3617#issuecomment-3901946852
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
gnoughthttps://github.com/gnought
February 18, 2026 11:23https://github.com/pre-commit/pre-commit/pull/3617#commits-pushed-8fd50fc
https://github.com/gnought
lint fixhttps://github.com/pre-commit/pre-commit/pull/3617/commits/8fd50fcc98686f0726fa23836c7049509ed23297
8fd50fchttps://github.com/pre-commit/pre-commit/pull/3617/commits/8fd50fcc98686f0726fa23836c7049509ed23297
https://github.com/gnought
lint fixhttps://github.com/pre-commit/pre-commit/pull/3617/commits/0287f07421433d9da45ded22c75803ac2def46cb
0287f07https://github.com/pre-commit/pre-commit/pull/3617/commits/0287f07421433d9da45ded22c75803ac2def46cb
https://github.co/hiddenchars
https://github.com/pre-commit/pre-commit/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fpull%2F3617
https://github.com/asottile
asottile https://github.com/asottile
https://github.com/pre-commit/pre-commit/pull/3617/files/5c9f50b681300c71363b581d6b895565b78eab90
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
Please reload this pagehttps://github.com/pre-commit/pre-commit/pull/3617
https://github.com/gnought
https://github.com/asottile
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.