René's URL Explorer Experiment


Title: Disable text conversion in empty-tree index diffs by Byron · Pull Request #2359 · gitpython-developers/GitPython · GitHub

Open Graph Title: Disable text conversion in empty-tree index diffs by Byron · Pull Request #2359 · gitpython-developers/GitPython

X Title: Disable text conversion in empty-tree index diffs by Byron · Pull Request #2359 · gitpython-developers/GitPython

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 Codex. Created by Codex on behalf of Byron. Byron will review before this is ready to merge. Motivation Library-owned diffs should produce raw results and patches without invoking repository-configured text conversion programs. A review of the diff entry points found that IndexFile.diff() compares against the empty tree using git diff --cached, which enables text conversion by default. The empty-tree path now passes --no-textconv for raw and patch output, matching the existing behavior of Diffable.diff. Validation The four regression cases failed before the fix and now pass. They cover both empty-tree arguments and both output modes. The index, diff, and CLI safety test modules passed on each backend with 187 tests and two skips.

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/2359

X: @github

direct link

Domain: user:token@github.com

IPv4 address: 140.82.114.3

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:42a5963e-57ad-c083-c1aa-6246b157dd2b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA222:1D51B:61B4E0:8695E8:6B065B2D
html-safe-nonced8e8f89bb70d1e2c2a62970ace9c2a2c549b9e5acd0a3bed34f0c69e24f28e29
visitor-payloadeyJyZWZlcnJlciI6bnVsbCwicmVxdWVzdF9pZCI6IkEyMjI6MUQ1MUI6NjFCNEUwOjg2OTVFODo2QjA2NUIyRCIsInZpc2l0b3JfaWQiOiI1MTE5MzcxNzAxNzMzNzEwNjM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiY2VudHJhbHVzIn0=
visitor-hmacf7f36a7f0db27a92a76a397f4fbed575d5223f77885ce9996befd158cb3dbb13
hovercard-subject-tagpull_request:5466147446
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/2359/files
twitter:imagehttps://avatars.githubusercontent.com/u/63622?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/63622?s=400&v=4
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:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297
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
release7f0aa75f4141d440c6110dc31af7ea7797abb6c4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#start-of-content
https://user:token@github.com/
Sign inhttps://user:token@github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2359%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://user:token@github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F2359%2Ffiles
Sign uphttps://user:token@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://user:token@github.com/gitpython-developers/GitPython/pull/2359/files
Reloadhttps://user:token@github.com/gitpython-developers/GitPython/pull/2359/files
Reloadhttps://user:token@github.com/gitpython-developers/GitPython/pull/2359/files
gitpython-developershttps://user:token@github.com/gitpython-developers
GitPythonhttps://user:token@github.com/gitpython-developers/GitPython
Codehttps://user:token@github.com/gitpython-developers/GitPython
Issues1 (1)https://user:token@github.com/gitpython-developers/GitPython/issues
Pull requests1 (1)https://user:token@github.com/gitpython-developers/GitPython/pulls
Discussionshttps://user:token@github.com/gitpython-developers/GitPython/discussions
Actionshttps://user:token@github.com/gitpython-developers/GitPython/actions
Security and quality42 (42)https://user:token@github.com/gitpython-developers/GitPython/security
Insightshttps://user:token@github.com/gitpython-developers/GitPython/insights
Sign up for GitHub https://user:token@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://user:token@github.com/login?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
Byronhttps://user:token@github.com/Byron
mainhttps://user:token@github.com/gitpython-developers/GitPython/tree/main
fix-index-diffhttps://user:token@github.com/gitpython-developers/GitPython/tree/fix-index-diff
Conversation 2 https://user:token@github.com/gitpython-developers/GitPython/pull/2359
Commits 1 https://user:token@github.com/gitpython-developers/GitPython/pull/2359/commits
Checks 67 https://user:token@github.com/gitpython-developers/GitPython/pull/2359/checks
Files changed https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files
Please reload this pagehttps://user:token@github.com/gitpython-developers/GitPython/pull/2359/files
Disable text conversion in empty-tree index diffs https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#top
Show all changes 1 commit https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files
7641ef9 fix(index): disable text conversion in empty-tree diffs codex Nov 24, 2026 https://user:token@github.com/gitpython-developers/GitPython/pull/2359/commits/7641ef92b54131c86920547f10e3f497c891a60f
Clear filters https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files
Please reload this pagehttps://user:token@github.com/gitpython-developers/GitPython/pull/2359/files
Please reload this pagehttps://user:token@github.com/gitpython-developers/GitPython/pull/2359/files
base.py https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#diff-56d167dc0ca4d51682e56b5e602c096f3f264fd1ebb61cc03bbb6c409c866eeb
test_cli_safety.py https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#diff-847c2c5b8c4933540a2d58604931494444760884f11af967f958d44668225faf
git/index/base.pyhttps://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#diff-56d167dc0ca4d51682e56b5e602c096f3f264fd1ebb61cc03bbb6c409c866eeb
View file https://user:token@github.com/gitpython-developers/GitPython/blob/7641ef92b54131c86920547f10e3f497c891a60f/git/index/base.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://user:token@github.com/gitpython-developers/GitPython/pull/2359/{{ revealButtonHref }}
https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#diff-56d167dc0ca4d51682e56b5e602c096f3f264fd1ebb61cc03bbb6c409c866eeb
https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#diff-56d167dc0ca4d51682e56b5e602c096f3f264fd1ebb61cc03bbb6c409c866eeb
test/test_cli_safety.pyhttps://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#diff-847c2c5b8c4933540a2d58604931494444760884f11af967f958d44668225faf
View file https://user:token@github.com/gitpython-developers/GitPython/blob/7641ef92b54131c86920547f10e3f497c891a60f/test/test_cli_safety.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://user:token@github.com/gitpython-developers/GitPython/pull/2359/{{ revealButtonHref }}
https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#diff-847c2c5b8c4933540a2d58604931494444760884f11af967f958d44668225faf
https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#diff-847c2c5b8c4933540a2d58604931494444760884f11af967f958d44668225faf
https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#diff-847c2c5b8c4933540a2d58604931494444760884f11af967f958d44668225faf
https://user:token@github.com/gitpython-developers/GitPython/pull/2359/files#diff-847c2c5b8c4933540a2d58604931494444760884f11af967f958d44668225faf
Please reload this pagehttps://user:token@github.com/gitpython-developers/GitPython/pull/2359/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

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

Viewport: width=device-width


URLs of crawlers that visited me.