René's URL Explorer Experiment


Title: Centralize Git extended-header parsing by keegancsmith · Pull Request #96 · sourcegraph/go-diff · GitHub

Open Graph Title: Centralize Git extended-header parsing by keegancsmith · Pull Request #96 · sourcegraph/go-diff

X Title: Centralize Git extended-header parsing by keegancsmith · Pull Request #96 · sourcegraph/go-diff

Description: Unified diff parser and printer for Go. Contribute to sourcegraph/go-diff development by creating an account on GitHub.

Open Graph Description: PR #92 taught both empty-diff parsing and reversal about the same Git extended headers, but each path independently encoded the recognized prefixes and directional pairs. This follow-up introduces ...

X Description: PR #92 taught both empty-diff parsing and reversal about the same Git extended headers, but each path independently encoded the recognized prefixes and directional pairs. This follow-up introduces ...

Opengraph URL: https://github.com/sourcegraph/go-diff/pull/96

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:d5ca4225-c0d7-7e35-0cf8-eb8e4d19dcc5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE268:67561:21049E:2D680E:6AEC6E84
html-safe-nonce40b863ad86c8d1b877a39526936d5a06694fd62d74bdf5d88febdfb08d3f69a4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjY4OjY3NTYxOjIxMDQ5RToyRDY4MEU6NkFFQzZFODQiLCJ2aXNpdG9yX2lkIjoiNjAxMjEyMzU3MzgxMzgwMDU4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1eb17386b78f713a69ff709399204235df4f5714d5b07408f80c35ad7afa26ee
hovercard-subject-tagpull_request:4493084196
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/sourcegraph/go-diff/96/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ed1fd98f5d4164e5a8889420299c17bb4c02f892abc464394901881b203ac7a1/sourcegraph/go-diff/pull/96
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ed1fd98f5d4164e5a8889420299c17bb4c02f892abc464394901881b203ac7a1/sourcegraph/go-diff/pull/96
og:image:altPR #92 taught both empty-diff parsing and reversal about the same Git extended headers, but each path independently encoded the recognized prefixes and directional pairs. This follow-up introduces ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekeegancsmith
hostnamegithub.com
expected-hostnamegithub.com
None81a8a223b8411e760195a15942ff045b37d56328f5bf02c4ca5f903e3dcb475e
turbo-cache-controlno-cache
go-importgithub.com/sourcegraph/go-diff git https://github.com/sourcegraph/go-diff.git
octolytics-dimension-user_id3979584
octolytics-dimension-user_loginsourcegraph
octolytics-dimension-repository_id23504425
octolytics-dimension-repository_nwosourcegraph/go-diff
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id23504425
octolytics-dimension-repository_network_root_nwosourcegraph/go-diff
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
releasea2c6dc5933515805b39ac7c5b9ab4e947c2f5a42
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/sourcegraph/go-diff/pull/96#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fgo-diff%2Fpull%2F96
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%2Fsourcegraph%2Fgo-diff%2Fpull%2F96
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=sourcegraph%2Fgo-diff
Reloadhttps://github.com/sourcegraph/go-diff/pull/96
Reloadhttps://github.com/sourcegraph/go-diff/pull/96
Reloadhttps://github.com/sourcegraph/go-diff/pull/96
sourcegraphhttps://github.com/sourcegraph
go-diffhttps://github.com/sourcegraph/go-diff
Codehttps://github.com/sourcegraph/go-diff
Issues1 (1)https://github.com/sourcegraph/go-diff/issues
Pull requests2 (2)https://github.com/sourcegraph/go-diff/pulls
Actionshttps://github.com/sourcegraph/go-diff/actions
Projectshttps://github.com/sourcegraph/go-diff/projects
Security and qualityhttps://github.com/sourcegraph/go-diff/security
Insightshttps://github.com/sourcegraph/go-diff/pulse
https://github.com/sourcegraph/go-diff
keegancsmithhttps://github.com/keegancsmith
masterhttps://github.com/sourcegraph/go-diff/tree/master
k/git-extended-header-parserhttps://github.com/sourcegraph/go-diff/tree/k/git-extended-header-parser
Conversationhttps://github.com/sourcegraph/go-diff/pull/96
Commits1 (1)https://github.com/sourcegraph/go-diff/pull/96/commits
Checkshttps://github.com/sourcegraph/go-diff/pull/96/checks
Files changedhttps://github.com/sourcegraph/go-diff/pull/96/files
Centralize Git extended-header parsinghttps://github.com/sourcegraph/go-diff/pull/96#top
keegancsmithhttps://github.com/keegancsmith
masterhttps://github.com/sourcegraph/go-diff/tree/master
k/git-extended-header-parserhttps://github.com/sourcegraph/go-diff/tree/k/git-extended-header-parser
https://github.com/keegancsmith
keegancsmithhttps://github.com/keegancsmith
Sep 10, 2026https://github.com/sourcegraph/go-diff/pull/96#issue-5409143562
Please reload this pagehttps://github.com/sourcegraph/go-diff/pull/96
#92https://github.com/sourcegraph/go-diff/pull/92
#93https://github.com/sourcegraph/go-diff/pull/93
#94https://github.com/sourcegraph/go-diff/pull/94
Please reload this pagehttps://github.com/sourcegraph/go-diff/pull/96
https://github.com/keegancsmith
keegancsmithhttps://github.com/keegancsmith
force-pushedhttps://github.com/sourcegraph/go-diff/compare/8aa20eff939671470bf5c16644a0dc980ffae69d..a2748ad3ad95fdfa22ff83f9e8597878987c8f07
8aa20efhttps://github.com/sourcegraph/go-diff/commit/8aa20eff939671470bf5c16644a0dc980ffae69d
a2748adhttps://github.com/sourcegraph/go-diff/commit/a2748ad3ad95fdfa22ff83f9e8597878987c8f07
Compare https://github.com/sourcegraph/go-diff/compare/8aa20eff939671470bf5c16644a0dc980ffae69d..a2748ad3ad95fdfa22ff83f9e8597878987c8f07
September 10, 2026 08:04https://github.com/sourcegraph/go-diff/pull/96#event-30886125412
https://github.com/keegancsmith
https://github.com/ampagent
refactor/diff: centralize Git extended-header structurehttps://github.com/sourcegraph/go-diff/pull/96/commits/2141c21290c9ac5b7839a6619e07f7a03b6ddbb4
2141c21https://github.com/sourcegraph/go-diff/pull/96/commits/2141c21290c9ac5b7839a6619e07f7a03b6ddbb4
https://ampcode.com/threads/T-01a08a2d-b04d-71bd-a9b5-cf65f1543481https://ampcode.com/threads/T-01a08a2d-b04d-71bd-a9b5-cf65f1543481
https://ampcode.com/threads/T-01a08a17-d51a-71a5-a028-1399ee2700e4https://ampcode.com/threads/T-01a08a17-d51a-71a5-a028-1399ee2700e4
https://github.com/keegancsmith
keegancsmithhttps://github.com/keegancsmith
force-pushedhttps://github.com/sourcegraph/go-diff/compare/a2748ad3ad95fdfa22ff83f9e8597878987c8f07..2141c21290c9ac5b7839a6619e07f7a03b6ddbb4
a2748adhttps://github.com/sourcegraph/go-diff/commit/a2748ad3ad95fdfa22ff83f9e8597878987c8f07
2141c21https://github.com/sourcegraph/go-diff/commit/2141c21290c9ac5b7839a6619e07f7a03b6ddbb4
Compare https://github.com/sourcegraph/go-diff/compare/a2748ad3ad95fdfa22ff83f9e8597878987c8f07..2141c21290c9ac5b7839a6619e07f7a03b6ddbb4
September 10, 2026 08:07https://github.com/sourcegraph/go-diff/pull/96#event-30886309398
https://github.com/keegancsmith
keegancsmithhttps://github.com/keegancsmith
September 10, 2026 08:08https://github.com/sourcegraph/go-diff/pull/96#event-30886399541
https://github.com/keegancsmith
keegancsmithhttps://github.com/keegancsmith
cf64c62https://github.com/sourcegraph/go-diff/commit/cf64c6246685b0596f91cd0b170af38196b8dbfd
Sep 10, 2026https://github.com/sourcegraph/go-diff/pull/96#event-30886472843
Please reload this pagehttps://github.com/sourcegraph/go-diff/pull/96
https://github.com/keegancsmith
keegancsmithhttps://github.com/keegancsmith
September 10, 2026 08:10https://github.com/sourcegraph/go-diff/pull/96#event-30886477495
https://github.com/methakon
methakonhttps://github.com/methakon
Sep 30, 2026 https://github.com/sourcegraph/go-diff/pull/96#ref-issue-5556976886
ReverseFileDiff on a git binary patch gives a diff that git apply rejects #98 https://github.com/sourcegraph/go-diff/issues/98
https://github.co/hiddenchars
https://github.com/sourcegraph/go-diff/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%2Fsourcegraph%2Fgo-diff%2Fpull%2F96
Please reload this pagehttps://github.com/sourcegraph/go-diff/pull/96
Please reload this pagehttps://github.com/sourcegraph/go-diff/pull/96
https://github.com/keegancsmith
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.