René's URL Explorer Experiment


Title: Track line-count changes when applying fuzzy patches by PHJ2000 · Pull Request #238 · java-diff-utils/java-diff-utils · GitHub

Open Graph Title: Track line-count changes when applying fuzzy patches by PHJ2000 · Pull Request #238 · java-diff-utils/java-diff-utils

X Title: Track line-count changes when applying fuzzy patches by PHJ2000 · Pull Request #238 · java-diff-utils/java-diff-utils

Description: Include each delta's line-count change in lastPatchDelta. This also makes lastPatchEnd refer to the end of the resulting chunk, so later fuzzy changes search the right positions. Adds regressions for shrinking changes (including a shifted input) and an expanding change with a newly inserted matching line. Both tests fail before the fix. Full mvn clean verify passes on Java 17: 154 tests, 3 skipped. Fixes #237.

Open Graph Description: Include each delta's line-count change in lastPatchDelta. This also makes lastPatchEnd refer to the end of the resulting chunk, so later fuzzy changes search the right positions. Adds regressio...

X Description: Include each delta's line-count change in lastPatchDelta. This also makes lastPatchEnd refer to the end of the resulting chunk, so later fuzzy changes search the right positions. Adds regre...

Opengraph URL: https://github.com/java-diff-utils/java-diff-utils/pull/238

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:2098c012-093b-f17d-58a2-4778bda966e3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9EF0:54397:5D566C:7FC1C2:6AFBC38E
html-safe-nonce6193ccff652b17d36529c15265c327a5ef2b98e5093f6164ee9fcc3af647fcae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUYwOjU0Mzk3OjVENTY2Qzo3RkMxQzI6NkFGQkMzOEUiLCJ2aXNpdG9yX2lkIjoiMTIzOTk4MDgzMjc5NDA2Nzg1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac35a2452d526dc3475c54be9021f16d25af4bd7727b1ca5fe103d9bb31b0f6703
hovercard-subject-tagpull_request:4741832152
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/java-diff-utils/java-diff-utils/pull/238/files
twitter:imagehttps://avatars.githubusercontent.com/u/105151063?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/105151063?s=400&v=4
og:image:altInclude each delta's line-count change in lastPatchDelta. This also makes lastPatchEnd refer to the end of the resulting chunk, so later fuzzy changes search the right positions. Adds regressio...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/java-diff-utils/java-diff-utils git https://github.com/java-diff-utils/java-diff-utils.git
octolytics-dimension-user_id40540835
octolytics-dimension-user_loginjava-diff-utils
octolytics-dimension-repository_id86663812
octolytics-dimension-repository_nwojava-diff-utils/java-diff-utils
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id86663812
octolytics-dimension-repository_network_root_nwojava-diff-utils/java-diff-utils
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
releasee4cce0e99cf61481a318ff12c2e8580153a6c7c6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/java-diff-utils/java-diff-utils/pull/238/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjava-diff-utils%2Fjava-diff-utils%2Fpull%2F238%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%2Fjava-diff-utils%2Fjava-diff-utils%2Fpull%2F238%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=java-diff-utils%2Fjava-diff-utils
Reloadhttps://github.com/java-diff-utils/java-diff-utils/pull/238/files
Reloadhttps://github.com/java-diff-utils/java-diff-utils/pull/238/files
Reloadhttps://github.com/java-diff-utils/java-diff-utils/pull/238/files
java-diff-utilshttps://github.com/java-diff-utils
java-diff-utilshttps://github.com/java-diff-utils/java-diff-utils
Codehttps://github.com/java-diff-utils/java-diff-utils
Issues2 (2)https://github.com/java-diff-utils/java-diff-utils/issues
Pull requests2 (2)https://github.com/java-diff-utils/java-diff-utils/pulls
Discussionshttps://github.com/java-diff-utils/java-diff-utils/discussions
Actionshttps://github.com/java-diff-utils/java-diff-utils/actions
Projectshttps://github.com/java-diff-utils/java-diff-utils/projects
Wikihttps://github.com/java-diff-utils/java-diff-utils/wiki
Security and qualityhttps://github.com/java-diff-utils/java-diff-utils/security
Insightshttps://github.com/java-diff-utils/java-diff-utils/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fjava-diff-utils%2Fjava-diff-utils%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fjava-diff-utils%2Fjava-diff-utils%2Fissues%2Fnew%2Fchoose
wumpzhttps://github.com/wumpz
java-diff-utils:masterhttps://github.com/java-diff-utils/java-diff-utils/tree/master
PHJ2000:fix-fuzzy-patch-size-offsethttps://github.com/PHJ2000/java-diff-utils/tree/fix-fuzzy-patch-size-offset
Conversation 0 https://github.com/java-diff-utils/java-diff-utils/pull/238
Commits 1 https://github.com/java-diff-utils/java-diff-utils/pull/238/commits
Checks 4 https://github.com/java-diff-utils/java-diff-utils/pull/238/checks
Files changed https://github.com/java-diff-utils/java-diff-utils/pull/238/files
Please reload this pagehttps://github.com/java-diff-utils/java-diff-utils/pull/238/files
Track line-count changes when applying fuzzy patches https://github.com/java-diff-utils/java-diff-utils/pull/238/files#top
Show all changes 1 commit https://github.com/java-diff-utils/java-diff-utils/pull/238/files
9f805b3 Track line-count changes when applying fuzzy patches PHJ2000 Oct 5, 2026 https://github.com/java-diff-utils/java-diff-utils/pull/238/commits/9f805b3e8ebe91dec47122fc099e8b71a67ee9e2
Clear filters https://github.com/java-diff-utils/java-diff-utils/pull/238/files
Please reload this pagehttps://github.com/java-diff-utils/java-diff-utils/pull/238/files
Please reload this pagehttps://github.com/java-diff-utils/java-diff-utils/pull/238/files
Patch.java https://github.com/java-diff-utils/java-diff-utils/pull/238/files#diff-a37fd6538ef7d8ba30d68ab3fe11c72f8da7753836c26b60c9082c304e01ae24
PatchWithMyerDiffTest.java https://github.com/java-diff-utils/java-diff-utils/pull/238/files#diff-f1c9b2d2c17e830a4765c959e2d84eeceb89b18e593e6f00baa6a32ef8e8c124
java-diff-utils/src/main/java/com/github/difflib/patch/Patch.javahttps://github.com/java-diff-utils/java-diff-utils/pull/238/files#diff-a37fd6538ef7d8ba30d68ab3fe11c72f8da7753836c26b60c9082c304e01ae24
View file https://github.com/PHJ2000/java-diff-utils/blob/9f805b3e8ebe91dec47122fc099e8b71a67ee9e2/java-diff-utils/src/main/java/com/github/difflib/patch/Patch.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/java-diff-utils/java-diff-utils/pull/238/{{ revealButtonHref }}
https://github.com/java-diff-utils/java-diff-utils/pull/238/files#diff-a37fd6538ef7d8ba30d68ab3fe11c72f8da7753836c26b60c9082c304e01ae24
https://github.com/java-diff-utils/java-diff-utils/pull/238/files#diff-a37fd6538ef7d8ba30d68ab3fe11c72f8da7753836c26b60c9082c304e01ae24
java-diff-utils/src/test/java/com/github/difflib/patch/PatchWithMyerDiffTest.javahttps://github.com/java-diff-utils/java-diff-utils/pull/238/files#diff-f1c9b2d2c17e830a4765c959e2d84eeceb89b18e593e6f00baa6a32ef8e8c124
View file https://github.com/PHJ2000/java-diff-utils/blob/9f805b3e8ebe91dec47122fc099e8b71a67ee9e2/java-diff-utils/src/test/java/com/github/difflib/patch/PatchWithMyerDiffTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/java-diff-utils/java-diff-utils/pull/238/{{ revealButtonHref }}
https://github.com/java-diff-utils/java-diff-utils/pull/238/files#diff-f1c9b2d2c17e830a4765c959e2d84eeceb89b18e593e6f00baa6a32ef8e8c124
https://github.com/java-diff-utils/java-diff-utils/pull/238/files#diff-f1c9b2d2c17e830a4765c959e2d84eeceb89b18e593e6f00baa6a32ef8e8c124
Please reload this pagehttps://github.com/java-diff-utils/java-diff-utils/pull/238/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.