René's URL Explorer Experiment


Title: fix: validate object types when loading binary SHAs by Byron · Pull Request #2256 · gitpython-developers/GitPython · GitHub

Open Graph Title: fix: validate object types when loading binary SHAs by Byron · Pull Request #2256 · gitpython-developers/GitPython

X Title: fix: validate object types when loading binary SHAs by Byron · Pull Request #2256 · gitpython-developers/GitPython

Description: GitPython is a python library used to interact with Git repositories. - fix: validate object types when loading binary SHAs by Byron · Pull Request #2256 · gitpython-developers/GitPython

Open Graph Description: Tasks This section is for Byron only. Models continuing this PR must not add, remove, check, uncheck, rename, or reorder checkboxes here. refackiew Everything below this line was generated by C...

X Description: Tasks This section is for Byron only. Models continuing this PR must not add, remove, check, uncheck, rename, or reorder checkboxes here. refackiew Everything below this line was generated by C...

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

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:6476e6ab-80ac-20cf-bf39-e18f575946b2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id86BA:2D96F1:2A780D:39D12E:6B00C2CC
html-safe-nonce0b5fb140c6406019a54854dce06c4488dca505d0c9c22a0eda35b9ab47608148
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkJBOjJEOTZGMToyQTc4MEQ6MzlEMTJFOjZCMDBDMkNDIiwidmlzaXRvcl9pZCI6IjI1MDg5MzczNzcxODgyMDExNjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace90ddcfe2234b92bb71a419049e8593f70e74239c09b207f0226ba830afcf0c2
hovercard-subject-tagpull_request:4659299015
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/gitpython-developers/GitPython/2256/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a206ab2bdb969651c16fb93a3def8ba42679511b781dfaac8307695f416f1a0c/gitpython-developers/GitPython/pull/2256
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a206ab2bdb969651c16fb93a3def8ba42679511b781dfaac8307695f416f1a0c/gitpython-developers/GitPython/pull/2256
og:image:altTasks This section is for Byron only. Models continuing this PR must not add, remove, check, uncheck, rename, or reorder checkboxes here. refackiew Everything below this line was generated by C...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameByron
hostnamegithub.com
expected-hostnamegithub.com
None93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1fee81a280ea86312b69448e261b418189bfd5b5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/pull/2256#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2256
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%2F2256
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=gitpython-developers%2FGitPython
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2256
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2256
Reloadhttps://github.com/gitpython-developers/GitPython/pull/2256
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
https://github.com/gitpython-developers/GitPython
Byronhttps://github.com/Byron
mainhttps://github.com/gitpython-developers/GitPython/tree/main
better-binsha-checkshttps://github.com/gitpython-developers/GitPython/tree/better-binsha-checks
Conversationhttps://github.com/gitpython-developers/GitPython/pull/2256
Commits1 (1)https://github.com/gitpython-developers/GitPython/pull/2256/commits
Checkshttps://github.com/gitpython-developers/GitPython/pull/2256/checks
Files changedhttps://github.com/gitpython-developers/GitPython/pull/2256/files
fix: validate object types when loading binary SHAshttps://github.com/gitpython-developers/GitPython/pull/2256#top
Byronhttps://github.com/Byron
mainhttps://github.com/gitpython-developers/GitPython/tree/main
better-binsha-checkshttps://github.com/gitpython-developers/GitPython/tree/better-binsha-checks
https://github.com/Byron
Byronhttps://github.com/Byron
Sep 28, 2026https://github.com/gitpython-developers/GitPython/pull/2256#issue-5609386348
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
#2254https://github.com/gitpython-developers/GitPython/issues/2254
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
https://github.com/Byron
Byronhttps://github.com/Byron
force-pushedhttps://github.com/gitpython-developers/GitPython/compare/ca55dbf2a66e36e1cd95ab6de44153fcc76a0188..06104045e46be47fe791fd5f9498a6b15abf44c1
ca55dbfhttps://github.com/gitpython-developers/GitPython/commit/ca55dbf2a66e36e1cd95ab6de44153fcc76a0188
0610404https://github.com/gitpython-developers/GitPython/commit/06104045e46be47fe791fd5f9498a6b15abf44c1
Compare https://github.com/gitpython-developers/GitPython/compare/ca55dbf2a66e36e1cd95ab6de44153fcc76a0188..06104045e46be47fe791fd5f9498a6b15abf44c1
September 28, 2026 07:41https://github.com/gitpython-developers/GitPython/pull/2256#event-31972486859
https://github.com/Byron
Byronhttps://github.com/Byron
September 28, 2026 07:41https://github.com/gitpython-developers/GitPython/pull/2256#event-31972500862
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
September 28, 2026 07:41https://github.com/gitpython-developers/GitPython/pull/2256#event-31972502170
started reviewinghttps://github.com/gitpython-developers/GitPython/sessions/1b1a1c7a-6130-4ccf-92c5-9aa5ac5f977d
Byronhttps://github.com/Byron
September 28, 2026 07:42https://github.com/gitpython-developers/GitPython/pull/2256#event-31972531072
View session https://github.com/gitpython-developers/GitPython/sessions/1b1a1c7a-6130-4ccf-92c5-9aa5ac5f977d
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Sep 28, 2026 https://github.com/gitpython-developers/GitPython/pull/2256#pullrequestreview-5335398105
View reviewed changes https://github.com/gitpython-developers/GitPython/pull/2256/files
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/gitpython-developers/GitPython/pull/2256#pullrequestreview-5335398105
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Drain unread payload after object type mismatchhttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4119714009
Drain OStream after failed object type assertionhttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4119714052
Drain rejected GitCmdObjectDB streams before re-raisinghttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4119714108
Normalize object type representations before comparisonhttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4119714143
Select submodule repository for added gitlinkshttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4119714181
Add a code-review agent skillhttps://github.com/gitpython-developers/GitPython/new/main?filename=.github/skills/code-review/SKILL.md
Learn more in the docs.https://docs.github.com/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=webui#mcp-servers-and-agent-skills
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
git/objects/base.pyhttps://github.com/gitpython-developers/GitPython/pull/2256/files#diff-4fcf911ecd03484eb6c89186dde3ebaa272e9925d4c0da8a5dd358770aa9d21e
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
git/objects/fun.pyhttps://github.com/gitpython-developers/GitPython/pull/2256/files#diff-01edb0c8454cae675aff301bcd04f8a711166f34754645816938a57351a95f7d
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
git/objects/util.pyhttps://github.com/gitpython-developers/GitPython/pull/2256/files#diff-c91a265ba9028bfac459e1cfb58e2b609d346437e45de5c6c458732b6e1716e4
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
git/objects/util.pyhttps://github.com/gitpython-developers/GitPython/pull/2256/files#diff-c91a265ba9028bfac459e1cfb58e2b609d346437e45de5c6c458732b6e1716e4
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
git/diff.pyhttps://github.com/gitpython-developers/GitPython/pull/2256/files#diff-300633890a1b325dfed86bb5120d89465f0687f4f6b8d5701c44c02f0eee723a
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
September 28, 2026 11:24https://github.com/gitpython-developers/GitPython/pull/2256#event-31986927268
https://github.com/Byron
Byronhttps://github.com/Byron
force-pushedhttps://github.com/gitpython-developers/GitPython/compare/06104045e46be47fe791fd5f9498a6b15abf44c1..7ed5433c04eb43ea67805e55710328e764027abc
0610404https://github.com/gitpython-developers/GitPython/commit/06104045e46be47fe791fd5f9498a6b15abf44c1
7ed5433https://github.com/gitpython-developers/GitPython/commit/7ed5433c04eb43ea67805e55710328e764027abc
Compare https://github.com/gitpython-developers/GitPython/compare/06104045e46be47fe791fd5f9498a6b15abf44c1..7ed5433c04eb43ea67805e55710328e764027abc
September 28, 2026 11:24https://github.com/gitpython-developers/GitPython/pull/2256#event-31986927558
started reviewinghttps://github.com/gitpython-developers/GitPython/sessions/5f149692-da80-443a-b338-8e23a1fd4e7c
Byronhttps://github.com/Byron
September 28, 2026 11:25https://github.com/gitpython-developers/GitPython/pull/2256#event-31986983581
View session https://github.com/gitpython-developers/GitPython/sessions/5f149692-da80-443a-b338-8e23a1fd4e7c
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Sep 28, 2026 https://github.com/gitpython-developers/GitPython/pull/2256#pullrequestreview-5337904696
View reviewed changes https://github.com/gitpython-developers/GitPython/pull/2256/files
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/gitpython-developers/GitPython/pull/2256#pullrequestreview-5337904696
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Normalize ODB object type before comparing or formattinghttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4121612727
Normalize object type representations before comparisonhttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4119714143
Drain rejected GitCmdObjectDB streams before re-raisinghttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4119714108
Drain OStream after failed object type assertionhttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4119714052
Drain unread payload after object type mismatchhttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4119714009
Select submodule repository for added gitlinkshttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4119714181
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
git/objects/base.pyhttps://github.com/gitpython-developers/GitPython/pull/2256/files#diff-4fcf911ecd03484eb6c89186dde3ebaa272e9925d4c0da8a5dd358770aa9d21e
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
https://github.com/Byron
https://github.com/codex
fix: validate size lookups and preserve binary SHAs (https://github.com/gitpython-developers/GitPython/pull/2256/commits/6bf77c0576937e35d8c40286d27dd86f12f5a3d1
#2254https://github.com/gitpython-developers/GitPython/issues/2254
)https://github.com/gitpython-developers/GitPython/pull/2256/commits/6bf77c0576937e35d8c40286d27dd86f12f5a3d1
6bf77c0https://github.com/gitpython-developers/GitPython/pull/2256/commits/6bf77c0576937e35d8c40286d27dd86f12f5a3d1
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
September 28, 2026 11:48https://github.com/gitpython-developers/GitPython/pull/2256#event-31988545259
https://github.com/Byron
Byronhttps://github.com/Byron
force-pushedhttps://github.com/gitpython-developers/GitPython/compare/7ed5433c04eb43ea67805e55710328e764027abc..6bf77c0576937e35d8c40286d27dd86f12f5a3d1
7ed5433https://github.com/gitpython-developers/GitPython/commit/7ed5433c04eb43ea67805e55710328e764027abc
6bf77c0https://github.com/gitpython-developers/GitPython/commit/6bf77c0576937e35d8c40286d27dd86f12f5a3d1
Compare https://github.com/gitpython-developers/GitPython/compare/7ed5433c04eb43ea67805e55710328e764027abc..6bf77c0576937e35d8c40286d27dd86f12f5a3d1
September 28, 2026 11:48https://github.com/gitpython-developers/GitPython/pull/2256#event-31988545649
started reviewinghttps://github.com/gitpython-developers/GitPython/sessions/bed18c0b-e965-4deb-8bc0-9d55a6a6a3ef
Byronhttps://github.com/Byron
September 28, 2026 11:49https://github.com/gitpython-developers/GitPython/pull/2256#event-31988593437
View session https://github.com/gitpython-developers/GitPython/sessions/bed18c0b-e965-4deb-8bc0-9d55a6a6a3ef
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Sep 28, 2026 https://github.com/gitpython-developers/GitPython/pull/2256#pullrequestreview-5338177278
View reviewed changes https://github.com/gitpython-developers/GitPython/pull/2256/files/6bf77c0576937e35d8c40286d27dd86f12f5a3d1
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/gitpython-developers/GitPython/pull/2256#pullrequestreview-5338177278
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Validate binary SHA is a tree before recursive merge traversalhttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4121821302
Validate object type before direct commit, tree, and tag parsinghttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4121821368
Normalize ODB object type before comparing or formattinghttps://github.com/gitpython-developers/GitPython/pull/2256#discussion_r4121612727
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
git/index/base.pyhttps://github.com/gitpython-developers/GitPython/pull/2256/files/6bf77c0576937e35d8c40286d27dd86f12f5a3d1#diff-56d167dc0ca4d51682e56b5e602c096f3f264fd1ebb61cc03bbb6c409c866eeb
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
git/objects/base.pyhttps://github.com/gitpython-developers/GitPython/pull/2256/files/6bf77c0576937e35d8c40286d27dd86f12f5a3d1#diff-4fcf911ecd03484eb6c89186dde3ebaa272e9925d4c0da8a5dd358770aa9d21e
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
https://github.com/Byron
Byronhttps://github.com/Byron
3c638d2https://github.com/gitpython-developers/GitPython/commit/3c638d25420c19209e3730bafd49c89e43c54429
Sep 28, 2026https://github.com/gitpython-developers/GitPython/pull/2256#event-31991098472
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
https://github.com/Byron
Byronhttps://github.com/Byron
October 5, 2026 03:23https://github.com/gitpython-developers/GitPython/pull/2256#event-32474498654
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/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%2Fgitpython-developers%2FGitPython%2Fpull%2F2256
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/gitpython-developers/GitPython/pull/2256/files/6bf77c0576937e35d8c40286d27dd86f12f5a3d1
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
Exception suggestion: raise when making a Commit with non-commit binsha https://github.com/gitpython-developers/GitPython/issues/2254
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/2256
https://github.com/Byron
https://github.com/apps/copilot-pull-request-reviewer
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.