René's URL Explorer Experiment


Title: Read git's yes/no and on/off booleans in get_value by rawsun007 · Pull Request #2229 · gitpython-developers/GitPython · GitHub

Open Graph Title: Read git's yes/no and on/off booleans in get_value by rawsun007 · Pull Request #2229 · gitpython-developers/GitPython

X Title: Read git's yes/no and on/off booleans in get_value by rawsun007 · Pull Request #2229 · gitpython-developers/GitPython

Description: This pull request was written by Claude Code (Claude Opus 5) working through @rawsun007's account, identified here per CONTRIBUTING.md's "Prevent agent impersonation". The facts below were measured locally; @rawsun007 has not reviewed the diff line by line yet and will answer review comments himself. GitConfigParser disagrees with itself about the same file. getboolean (from ConfigParser) accepts all of git's boolean spellings; get_value handled only true/false, under a comment saying it tries "boolean values as git uses them": value get_value() getboolean() git config --type=bool yes 'yes' True true no 'no' False false on 'on' True true off 'off' False false true / false True / False same same Returning them as strings is worse than merely inexact: "no" and "off" are non-empty, so if repo.config_reader().get_value("core", "someflag"): is True for a value git reads as false, and nothing raises. _string_to_value now recognises the same spellings getboolean does. Non-boolean values are untouched ("meld" stays a string) and numeric values keep their current behaviour. Deliberately not included: get_value also diverges on numeric bases and suffixes — "0x10" and "1k" come back as strings where git reads 16 and 1024, and "010" becomes 10 where git reads octal 8. Those change a value rather than its type, so they belong in their own commit; happy to send that separately. Validation: test_get_value_reads_git_boolean_spellings covers the ten spellings and asserts the two accessors agree — it fails on the parent commit. test/test_config.py passes (40 passed, 2 skipped). ruff check and ruff format --check clean at the repo's line length. test/test_repo.py errors on my clone because init-tests-after-clone.sh has not been run; unchanged by this commit.

Open Graph Description: This pull request was written by Claude Code (Claude Opus 5) working through @rawsun007's account, identified here per CONTRIBUTING.md's "Prevent agent impersonation". The facts b...

X Description: This pull request was written by Claude Code (Claude Opus 5) working through @rawsun007's account, identified here per CONTRIBUTING.md's "Prevent agent impersonation&qu...

Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/2229

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:12fcd8ba-b042-3949-1e21-d81277f951c5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC9A:1F2D:2F4614:3BBD96:6B0100E4
html-safe-nonce0345ad9e8d0c1ec93fb772d1e00403ab2575a966a0846ec2a3cd3cb29f577d85
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzlBOjFGMkQ6MkY0NjE0OjNCQkQ5Njo2QjAxMDBFNCIsInZpc2l0b3JfaWQiOiIxMzk5MTg3NjM0MDA1Mjc4OTQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac14932201bfaf2d87a58cb92689a04574ef6f69fff23f2681632716b7e49aeeec
hovercard-subject-tagpull_request:4461005306
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/gitpython-developers/GitPython/pull/2229/files
twitter:imagehttps://avatars.githubusercontent.com/u/154859727?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/154859727?s=400&v=4
og:image:altThis pull request was written by Claude Code (Claude Opus 5) working through @rawsun007's account, identified here per CONTRIBUTING.md's "Prevent agent impersonation". The facts b...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1126087
octolytics-dimension-repository_nwogitpython-developers/GitPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126087
octolytics-dimension-repository_network_root_nwogitpython-developers/GitPython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/pull/2229/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2229%2Ffiles
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%2Fgitpython-developers%2FGitPython%2Fpull%2F2229%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2229/files
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2229/files
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2229/files
gitpython-developershttps://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Codehttps://github.com/gitpython-developers/GitPython
Issues1 (1)https://github.com/gitpython-developers/GitPython/issues
Pull requestshttps://github.com/gitpython-developers/GitPython/pulls
Discussionshttps://github.com/gitpython-developers/GitPython/discussions
Actionshttps://github.com/gitpython-developers/GitPython/actions
Security and quality42 (42)https://github.com/gitpython-developers/GitPython/security
Insightshttps://github.com/gitpython-developers/GitPython/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
Byronhttps://github.com/Byron
gitpython-developers:mainhttps://github.com/gitpython-developers/GitPython/tree/main
rawsun007:get-value-boolean-spellingshttps://github.com/rawsun007/GitPython/tree/get-value-boolean-spellings
Conversation 1 https://github.com/gitpython-developers/GitPython/pull/2229
Commits 2 https://github.com/gitpython-developers/GitPython/pull/2229/commits
Checks 53 https://github.com/gitpython-developers/GitPython/pull/2229/checks
Files changed https://github.com/gitpython-developers/GitPython/pull/2229/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2229/files
Read git's yes/no and on/off booleans in get_value https://github.com/gitpython-developers/GitPython/pull/2229/files#top
Show all changes 2 commits https://github.com/gitpython-developers/GitPython/pull/2229/files
5fd795a Read git's yes/no and on/off booleans in get_value rawsun007 Sep 7, 2026 https://github.com/gitpython-developers/GitPython/pull/2229/commits/5fd795a4981d02c1cd9050e41793b3dc64ff2438
297cd26 review Byron Sep 7, 2026 https://github.com/gitpython-developers/GitPython/pull/2229/commits/297cd26412e63c1f94c3ef8bdcf27c54956328ab
Clear filters https://github.com/gitpython-developers/GitPython/pull/2229/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2229/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2229/files
config.py https://github.com/gitpython-developers/GitPython/pull/2229/files#diff-dd51b67c435dfba6f72cc0d08f99456393556623a0f098ac2808d1a7cb78d53a
test_config.py https://github.com/gitpython-developers/GitPython/pull/2229/files#diff-45fa5f8530eb815c0cf606032e587adedb04dc70e59b203535d51c44654cfc4d
git/config.pyhttps://github.com/gitpython-developers/GitPython/pull/2229/files#diff-dd51b67c435dfba6f72cc0d08f99456393556623a0f098ac2808d1a7cb78d53a
View file https://github.com/rawsun007/GitPython/blob/297cd26412e63c1f94c3ef8bdcf27c54956328ab/git/config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/2229/{{ revealButtonHref }}
https://github.com/gitpython-developers/GitPython/pull/2229/files#diff-dd51b67c435dfba6f72cc0d08f99456393556623a0f098ac2808d1a7cb78d53a
https://github.com/gitpython-developers/GitPython/pull/2229/files#diff-dd51b67c435dfba6f72cc0d08f99456393556623a0f098ac2808d1a7cb78d53a
https://github.com/gitpython-developers/GitPython/pull/2229/files#diff-dd51b67c435dfba6f72cc0d08f99456393556623a0f098ac2808d1a7cb78d53a
https://github.com/gitpython-developers/GitPython/pull/2229/files#diff-dd51b67c435dfba6f72cc0d08f99456393556623a0f098ac2808d1a7cb78d53a
test/test_config.pyhttps://github.com/gitpython-developers/GitPython/pull/2229/files#diff-45fa5f8530eb815c0cf606032e587adedb04dc70e59b203535d51c44654cfc4d
View file https://github.com/rawsun007/GitPython/blob/297cd26412e63c1f94c3ef8bdcf27c54956328ab/test/test_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/2229/{{ revealButtonHref }}
https://github.com/gitpython-developers/GitPython/pull/2229/files#diff-45fa5f8530eb815c0cf606032e587adedb04dc70e59b203535d51c44654cfc4d
https://github.com/gitpython-developers/GitPython/pull/2229/files#diff-45fa5f8530eb815c0cf606032e587adedb04dc70e59b203535d51c44654cfc4d
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2229/files
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.