René's URL Explorer Experiment


Title: [Regression] Worktree support · Issue #1777 · pre-commit/pre-commit · GitHub

Open Graph Title: [Regression] Worktree support · Issue #1777 · pre-commit/pre-commit

X Title: [Regression] Worktree support · Issue #1777 · pre-commit/pre-commit

Description: Latest release 2.9.3 broke git worktrees support version information pre-commit version: 2.9.3 sys.version: 3.6.8 (default, Apr 15 2020, 09:32:35) [GCC 9.3.0] sys.executable: /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv...

Open Graph Description: Latest release 2.9.3 broke git worktrees support version information pre-commit version: 2.9.3 sys.version: 3.6.8 (default, Apr 15 2020, 09:32:35) [GCC 9.3.0] sys.executable: /home/vampas/.dotfiles...

X Description: Latest release 2.9.3 broke git worktrees support version information pre-commit version: 2.9.3 sys.version: 3.6.8 (default, Apr 15 2020, 09:32:35) [GCC 9.3.0] sys.executable: /home/vampas/.dotfiles...

Opengraph URL: https://github.com/pre-commit/pre-commit/issues/1777

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Regression] Worktree support","articleBody":"Latest release 2.9.3 broke git worktrees support\r\n\r\n### version information\r\n\r\n```\r\npre-commit version: 2.9.3\r\nsys.version:\r\n    3.6.8 (default, Apr 15 2020, 09:32:35)\r\n    [GCC 9.3.0]\r\nsys.executable: /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/bin/python3.6\r\nos.name: posix\r\nsys.platform: linux\r\n```\r\n\r\n### error information\r\n\r\n```\r\nAn error has occurred: FatalError: git toplevel unexpectedly empty! make sure you are not inside the `.git` directory of your repository.\r\n```\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages/pre_commit/error_handler.py\", line 65, in error_handler\r\n    yield\r\n  File \"/home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages/pre_commit/main.py\", line 330, in main\r\n    _adjust_args_and_chdir(args)\r\n  File \"/home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages/pre_commit/main.py\", line 147, in _adjust_args_and_chdir\r\n    toplevel = git.get_root()\r\n  File \"/home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages/pre_commit/git.py\", line 66, in get_root\r\n    'git toplevel unexpectedly empty! make sure you are not '\r\npre_commit.errors.FatalError: git toplevel unexpectedly empty! make sure you are not inside the `.git` directory of your repository.\r\n```\r\n\r\n```\r\n❯ pre-commit run -av bandit-salt\r\nAn error has occurred: FatalError: git toplevel unexpectedly empty! make sure you are not inside the `.git` directory of your repository.\r\nCheck the log at /home/vampas/.cache/pre-commit/pre-commit.log\r\n```\r\nVersion 2.9.2 works fine:\r\n```\r\n❯ pip install pre-commit==2.9.2\r\nCollecting pre-commit==2.9.2\r\n  Using cached pre_commit-2.9.2-py2.py3-none-any.whl (184 kB)\r\nRequirement already satisfied: importlib-metadata in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from pre-commit==2.9.2) (3.1.1)\r\nRequirement already satisfied: virtualenv\u003e=20.0.8 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from pre-commit==2.9.2) (20.2.2)\r\nRequirement already satisfied: pyyaml\u003e=5.1 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from pre-commit==2.9.2) (5.3.1)\r\nRequirement already satisfied: nodeenv\u003e=0.11.1 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from pre-commit==2.9.2) (1.5.0)\r\nRequirement already satisfied: cfgv\u003e=2.0.0 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from pre-commit==2.9.2) (3.2.0)\r\nRequirement already satisfied: identify\u003e=1.0.0 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from pre-commit==2.9.2) (1.5.10)\r\nRequirement already satisfied: toml in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from pre-commit==2.9.2) (0.10.2)\r\nRequirement already satisfied: importlib-resources in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from pre-commit==2.9.2) (3.3.0)\r\nRequirement already satisfied: zipp\u003e=0.5 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from importlib-metadata-\u003epre-commit==2.9.2) (3.4.0)\r\nRequirement already satisfied: zipp\u003e=0.5 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from importlib-metadata-\u003epre-commit==2.9.2) (3.4.0)\r\nRequirement already satisfied: importlib-resources in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from pre-commit==2.9.2) (3.3.0)\r\nRequirement already satisfied: six\u003c2,\u003e=1.9.0 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from virtualenv\u003e=20.0.8-\u003epre-commit==2.9.2) (1.15.0)\r\nRequirement already satisfied: filelock\u003c4,\u003e=3.0.0 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from virtualenv\u003e=20.0.8-\u003epre-commit==2.9.2) (3.0.12)\r\nRequirement already satisfied: distlib\u003c1,\u003e=0.3.1 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from virtualenv\u003e=20.0.8-\u003epre-commit==2.9.2) (0.3.1)\r\nRequirement already satisfied: importlib-metadata in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from pre-commit==2.9.2) (3.1.1)\r\nRequirement already satisfied: appdirs\u003c2,\u003e=1.4.3 in /home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/lib/python3.6/site-packages (from virtualenv\u003e=20.0.8-\u003epre-commit==2.9.2) (1.4.4)\r\nInstalling collected packages: pre-commit\r\n  Attempting uninstall: pre-commit\r\n    Found existing installation: pre-commit 2.9.3\r\n    Uninstalling pre-commit-2.9.3:\r\n      Successfully uninstalled pre-commit-2.9.3\r\nSuccessfully installed pre-commit-2.9.2\r\nWARNING: You are using pip version 20.3.1; however, version 21.0 is available.\r\nYou should consider upgrading via the '/home/vampas/.dotfiles/.ext/pyenv/versions/3.6.8/envs/SaltPriv-3.6/bin/python3.6 -m pip install --upgrade pip' command.\r\n~/projects/SaltStack/CVEs/salt/salt-priv/features/bandit (features/bandit|✔) SaltPriv-3.6\r\n❯ pre-commit run -av bandit-salt\r\nRun bandit against Salt..................................................^CInterrupted (^C): KeyboardInterrupt:\r\nCheck the log at /home/vampas/.cache/pre-commit/pre-commit.log\r\n```","author":{"url":"https://github.com/s0undt3ch","@type":"Person","name":"s0undt3ch"},"datePublished":"2021-01-27T16:49:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/1777/pre-commit/issues/1777"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:448c33ce-ebcb-388e-65f0-1e8c812fc25e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCAFC:3A8CAE:C067CC:105755B:6A55B3C2
html-safe-nonced9272444eeae8967cd785bc940fccbb97edee3b6e12d1f7a032b3f4c4f5207f3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUZDOjNBOENBRTpDMDY3Q0M6MTA1NzU1Qjo2QTU1QjNDMiIsInZpc2l0b3JfaWQiOiI0MzkzODExNjgzNzI0MDgwMDY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacccdb9a2296e1b99375ea74c3654a44128f1349e4d04391476bf887bb5cb78bd4
hovercard-subject-tagissue:795268931
github-keyboard-shortcutsrepository,issues,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit/1777/issue_layout
twitter:imagehttps://opengraph.githubassets.com/69e28895ced7e7c30baf8b0e0184c8a47c696a30ea3f18394dc36ace28d1bede/pre-commit/pre-commit/issues/1777
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69e28895ced7e7c30baf8b0e0184c8a47c696a30ea3f18394dc36ace28d1bede/pre-commit/pre-commit/issues/1777
og:image:altLatest release 2.9.3 broke git worktrees support version information pre-commit version: 2.9.3 sys.version: 3.6.8 (default, Apr 15 2020, 09:32:35) [GCC 9.3.0] sys.executable: /home/vampas/.dotfiles...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernames0undt3ch
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-preview
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
release653fccf1e27344851c0d3de3fa6faa526197f072
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit/issues/1777#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fissues%2F1777
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fissues%2F1777
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pre-commit%2Fpre-commit
Reloadhttps://github.com/pre-commit/pre-commit/issues/1777
Reloadhttps://github.com/pre-commit/pre-commit/issues/1777
Reloadhttps://github.com/pre-commit/pre-commit/issues/1777
Please reload this pagehttps://github.com/pre-commit/pre-commit/issues/1777
pre-commit https://github.com/pre-commit
pre-commithttps://github.com/pre-commit/pre-commit
Please reload this pagehttps://github.com/pre-commit/pre-commit/issues/1777
Notifications https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Fork 986 https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Star 15.4k https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Code https://github.com/pre-commit/pre-commit
Issues 22 https://github.com/pre-commit/pre-commit/issues
Pull requests 13 https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality 0 https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
Code https://github.com/pre-commit/pre-commit
Issues https://github.com/pre-commit/pre-commit/issues
Pull requests 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/pulse
#1778https://github.com/pre-commit/pre-commit/pull/1778
[Regression] Worktree supporthttps://github.com/pre-commit/pre-commit/issues/1777#top
#1778https://github.com/pre-commit/pre-commit/pull/1778
bughttps://github.com/pre-commit/pre-commit/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/s0undt3ch
s0undt3chhttps://github.com/s0undt3ch
on Jan 27, 2021https://github.com/pre-commit/pre-commit/issues/1777#issue-795268931
bughttps://github.com/pre-commit/pre-commit/issues?q=state%3Aopen%20label%3A%22bug%22
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

Viewport: width=device-width


URLs of crawlers that visited me.