René's URL Explorer Experiment


Title: fix: `AssertionError` when outside a vcs dir by tony · Pull Request #24 · vcs-python/g · GitHub

Open Graph Title: fix: `AssertionError` when outside a vcs dir by tony · Pull Request #24 · vcs-python/g

X Title: fix: `AssertionError` when outside a vcs dir by tony · Pull Request #24 · vcs-python/g

Description: g: Sync your current directories VCS (or reach for one via `--cwd`) - fix: `AssertionError` when outside a vcs dir by tony · Pull Request #24 · vcs-python/g

Open Graph Description: Changes Tests Move fixtures to NamedTuple Recreate AssertionError when outside vcs dir

X Description: Changes Tests Move fixtures to NamedTuple Recreate AssertionError when outside vcs dir

Opengraph URL: https://github.com/vcs-python/g/pull/24

X: @github

direct link

Domain: github.com

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:4030728a-98e1-ff00-f22b-56a47c028f27
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB3C0:D9951:2F7FD0:424427:6B008ABF
html-safe-noncec741dcd65115daa9c646c7f27390eb2d41a9d7d13ae2a5bbfc0c371f397ebd1d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0MwOkQ5OTUxOjJGN0ZEMDo0MjQ0Mjc6NkIwMDhBQkYiLCJ2aXNpdG9yX2lkIjoiNDUxNTI0MjYwMjYwNTM0OTU2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac43c27e0abe21c4d124ff7ee06fb6c371de4e5600d5ea291141bd6e47ff88a96b
hovercard-subject-tagpull_request:1910262631
github-keyboard-shortcutsrepository,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/vcs-python/g/24/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/aa5c4fee5fcc437c36587d4b1e7651c6b977d26cf855c21a34a2c03dafa124ce/vcs-python/g/pull/24
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aa5c4fee5fcc437c36587d4b1e7651c6b977d26cf855c21a34a2c03dafa124ce/vcs-python/g/pull/24
og:image:altChanges Tests Move fixtures to NamedTuple Recreate AssertionError when outside vcs dir
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametony
hostnamegithub.com
expected-hostnamegithub.com
None4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61
turbo-cache-controlno-cache
go-importgithub.com/vcs-python/g git https://github.com/vcs-python/g.git
octolytics-dimension-user_id37234415
octolytics-dimension-user_loginvcs-python
octolytics-dimension-repository_id463938887
octolytics-dimension-repository_nwovcs-python/g
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id463938887
octolytics-dimension-repository_network_root_nwovcs-python/g
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
releasedb758f8e02b8257935fb03edf81a3e76eb3abd11
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/vcs-python/g/pull/24#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvcs-python%2Fg%2Fpull%2F24
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%2Fvcs-python%2Fg%2Fpull%2F24
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=vcs-python%2Fg
Reloadhttps://github.com/vcs-python/g/pull/24
Reloadhttps://github.com/vcs-python/g/pull/24
Reloadhttps://github.com/vcs-python/g/pull/24
vcs-pythonhttps://github.com/vcs-python
ghttps://github.com/vcs-python/g
Codehttps://github.com/vcs-python/g
Issues2 (2)https://github.com/vcs-python/g/issues
Pull requests3 (3)https://github.com/vcs-python/g/pulls
Actionshttps://github.com/vcs-python/g/actions
Security and qualityhttps://github.com/vcs-python/g/security
Insightshttps://github.com/vcs-python/g/insights
https://github.com/vcs-python/g
tonyhttps://github.com/tony
masterhttps://github.com/vcs-python/g/tree/master
fix-error-outside-vcshttps://github.com/vcs-python/g/tree/fix-error-outside-vcs
Conversationhttps://github.com/vcs-python/g/pull/24
Commits7 (7)https://github.com/vcs-python/g/pull/24/commits
Checkshttps://github.com/vcs-python/g/pull/24/checks
Files changedhttps://github.com/vcs-python/g/pull/24/files
fix: AssertionError when outside a vcs dirhttps://github.com/vcs-python/g/pull/24#top
tonyhttps://github.com/tony
masterhttps://github.com/vcs-python/g/tree/master
fix-error-outside-vcshttps://github.com/vcs-python/g/tree/fix-error-outside-vcs
https://github.com/tony
tonyhttps://github.com/tony
Jun 8, 2024https://github.com/vcs-python/g/pull/24#issue-2341633006
Please reload this pagehttps://github.com/vcs-python/g/pull/24
https://github.com/codecov-commenter
codecov-commenterhttps://github.com/codecov-commenter
Jun 8, 2024https://github.com/vcs-python/g/pull/24#issuecomment-2156018809
Please reload this pagehttps://github.com/vcs-python/g/pull/24
Codecovhttps://app.codecov.io/gh/vcs-python/g/pull/24?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vcs-python
(1904def)https://app.codecov.io/gh/vcs-python/g/commit/1904deffbe92cc260ab27a5782f930dc6af36bdb?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vcs-python
(c0d2041)https://app.codecov.io/gh/vcs-python/g/commit/c0d2041465d4619bbff21dbc4405e6be299d1c15?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vcs-python
☔ View full report in Codecov by Sentryhttps://app.codecov.io/gh/vcs-python/g/pull/24?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vcs-python
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vcs-python
Please reload this pagehttps://github.com/vcs-python/g/pull/24
tonyhttps://github.com/tony
June 8, 2024 07:31https://github.com/vcs-python/g/pull/24#commits-pushed-05aec2e
https://github.com/tony
tests(cli): Use NamedTuple for fixtureshttps://github.com/vcs-python/g/pull/24/commits/05aec2e814114a8a54845f3731e09b701ea6657e
05aec2ehttps://github.com/vcs-python/g/pull/24/commits/05aec2e814114a8a54845f3731e09b701ea6657e
https://github.com/tony
tests(cli): Add EnvFlaghttps://github.com/vcs-python/g/pull/24/commits/3e5ce5a356dccd1c724e1d8cba13b6bd9995596e
3e5ce5ahttps://github.com/vcs-python/g/pull/24/commits/3e5ce5a356dccd1c724e1d8cba13b6bd9995596e
https://github.com/tony
tonyhttps://github.com/tony
force-pushedhttps://github.com/vcs-python/g/compare/ffb561215ab3dbcca69950b32b7cbfb3022487f1..3e5ce5a356dccd1c724e1d8cba13b6bd9995596e
ffb5612https://github.com/vcs-python/g/commit/ffb561215ab3dbcca69950b32b7cbfb3022487f1
3e5ce5ahttps://github.com/vcs-python/g/commit/3e5ce5a356dccd1c724e1d8cba13b6bd9995596e
Compare https://github.com/vcs-python/g/compare/ffb561215ab3dbcca69950b32b7cbfb3022487f1..3e5ce5a356dccd1c724e1d8cba13b6bd9995596e
June 8, 2024 12:31https://github.com/vcs-python/g/pull/24#event-13088266636
tonyhttps://github.com/tony
June 8, 2024 07:32https://github.com/vcs-python/g/pull/24#commits-pushed-605bb4a
https://github.com/tony
tests(cli): Recreate AssertionErrorhttps://github.com/vcs-python/g/pull/24/commits/605bb4a6c013715728b06dcaa1fa42e4029739a4
605bb4ahttps://github.com/vcs-python/g/pull/24/commits/605bb4a6c013715728b06dcaa1fa42e4029739a4
https://github.com/tony
g: Handle cases where not in a VCS directoryhttps://github.com/vcs-python/g/pull/24/commits/da2e087180647f1411b86c5dcd917bdbdfa114c1
da2e087https://github.com/vcs-python/g/pull/24/commits/da2e087180647f1411b86c5dcd917bdbdfa114c1
https://github.com/tony
docs(find_repo_type): Add docstringhttps://github.com/vcs-python/g/pull/24/commits/bc2edcf6828aa124814846db5705cd8a972c8d7a
bc2edcfhttps://github.com/vcs-python/g/pull/24/commits/bc2edcf6828aa124814846db5705cd8a972c8d7a
https://github.com/tony
tests(test_command_line): Test behavior when outside VCS directoryhttps://github.com/vcs-python/g/pull/24/commits/d697a7bfe39ec306b51cf0958e5704540e64b799
d697a7bhttps://github.com/vcs-python/g/pull/24/commits/d697a7bfe39ec306b51cf0958e5704540e64b799
https://github.com/tony
tonyhttps://github.com/tony
force-pushedhttps://github.com/vcs-python/g/compare/544524ddfc933ce212f01ab2f1ebe573965655ec..a1eef788b1dba4b9b8fb950decb20be5107ebfb1
544524dhttps://github.com/vcs-python/g/commit/544524ddfc933ce212f01ab2f1ebe573965655ec
a1eef78https://github.com/vcs-python/g/commit/a1eef788b1dba4b9b8fb950decb20be5107ebfb1
Compare https://github.com/vcs-python/g/compare/544524ddfc933ce212f01ab2f1ebe573965655ec..a1eef788b1dba4b9b8fb950decb20be5107ebfb1
June 8, 2024 13:02https://github.com/vcs-python/g/pull/24#event-13088352757
https://github.com/tony
docs(CHANGES): Fix g when running outside of vcshttps://github.com/vcs-python/g/pull/24/commits/c0d2041465d4619bbff21dbc4405e6be299d1c15
c0d2041https://github.com/vcs-python/g/pull/24/commits/c0d2041465d4619bbff21dbc4405e6be299d1c15
https://github.com/tony
tonyhttps://github.com/tony
force-pushedhttps://github.com/vcs-python/g/compare/a1eef788b1dba4b9b8fb950decb20be5107ebfb1..c0d2041465d4619bbff21dbc4405e6be299d1c15
a1eef78https://github.com/vcs-python/g/commit/a1eef788b1dba4b9b8fb950decb20be5107ebfb1
c0d2041https://github.com/vcs-python/g/commit/c0d2041465d4619bbff21dbc4405e6be299d1c15
Compare https://github.com/vcs-python/g/compare/a1eef788b1dba4b9b8fb950decb20be5107ebfb1..c0d2041465d4619bbff21dbc4405e6be299d1c15
June 8, 2024 13:04https://github.com/vcs-python/g/pull/24#event-13088359923
https://github.com/tony
tonyhttps://github.com/tony
fd7d607https://github.com/vcs-python/g/commit/fd7d60771664c35b3dc3de8446790a76f5dfbd87
Jun 8, 2024https://github.com/vcs-python/g/pull/24#event-13088364374
https://github.com/tony
tonyhttps://github.com/tony
June 8, 2024 13:06https://github.com/vcs-python/g/pull/24#event-13088364671
tonyhttps://github.com/tony
Jun 8, 2024 https://github.com/vcs-python/g/pull/24#ref-commit-fb62d11
https://github.com/tony
Tag v0.0.5 (fix for non-VCS dirshttps://github.com/vcs-python/g/commit/fb62d115fe984b6a574e5f424d33f7fb0d78a247
#24https://github.com/vcs-python/g/pull/24
, README/pkg metadata updates)https://github.com/vcs-python/g/commit/fb62d115fe984b6a574e5f424d33f7fb0d78a247
fb62d11https://github.com/vcs-python/g/commit/fb62d115fe984b6a574e5f424d33f7fb0d78a247
tonyhttps://github.com/tony
Apr 30, 2026 https://github.com/vcs-python/g/pull/24#ref-commit-f0e3a2e
https://github.com/tony
py(deps[uv]) Bump gp-sphinx workspace pins to 0.0.1a13https://github.com/vcs-python/g/commit/f0e3a2e4a43c6d103518628830dceb401c3553aa
f0e3a2ehttps://github.com/vcs-python/g/commit/f0e3a2e4a43c6d103518628830dceb401c3553aa
#24https://github.com/vcs-python/g/pull/24
https://github.co/hiddenchars
https://github.com/vcs-python/g/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%2Fvcs-python%2Fg%2Fpull%2F24
Please reload this pagehttps://github.com/vcs-python/g/pull/24
Please reload this pagehttps://github.com/vcs-python/g/pull/24
https://github.com/tony
https://github.com/codecov-commenter
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.