Title: Unified patches from git do not parse correctly · Issue #33 · java-diff-utils/java-diff-utils · GitHub
Open Graph Title: Unified patches from git do not parse correctly · Issue #33 · java-diff-utils/java-diff-utils
X Title: Unified patches from git do not parse correctly · Issue #33 · java-diff-utils/java-diff-utils
Description: Expected Behavior Unified patches from git to parse correctly Actual Behavior The git diffs contain extra context after the chunk header @@ suffix (I think its the closest line above the chunk with a '{') but the regex in the parser ends...
Open Graph Description: Expected Behavior Unified patches from git to parse correctly Actual Behavior The git diffs contain extra context after the chunk header @@ suffix (I think its the closest line above the chunk with...
X Description: Expected Behavior Unified patches from git to parse correctly Actual Behavior The git diffs contain extra context after the chunk header @@ suffix (I think its the closest line above the chunk with...
Opengraph URL: https://github.com/java-diff-utils/java-diff-utils/issues/33
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unified patches from git do not parse correctly","articleBody":"### Expected Behavior\r\n\r\nUnified patches from git to parse correctly\r\n\r\n### Actual Behavior\r\n\r\nThe git diffs contain extra context after the chunk header @@ suffix (I think its the closest line above the chunk with a '{') but the regex in the parser ends with @@$, expecting @@ to the last thing on the line\r\n\r\n### Steps to Reproduce the Problem\r\n\r\n 1. create a patch file with git diff \r\n 1. note the line in the chunk header\r\n 1. attempt to parse with java-diff-utils\r\n\r\n","author":{"url":"https://github.com/nbransby","@type":"Person","name":"nbransby"},"datePublished":"2019-03-18T21:25:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/33/java-diff-utils/issues/33"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:124c3076-35aa-2f36-a8c3-c7490727e4ad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF22:14EC01:182B6B4:21DA6B3:696A488B |
| html-safe-nonce | a53054253988cd0e291827b379b104579c1f1e6b11213bbe259576e381e79853 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjIyOjE0RUMwMToxODJCNkI0OjIxREE2QjM6Njk2QTQ4OEIiLCJ2aXNpdG9yX2lkIjoiODkyNjQ4NjExMzY2NDI1NjEzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ac3299c1fc8688ceda8c0e133284899c681828cfd1cbae50fcafea0bae6e4a07 |
| hovercard-subject-tag | issue:422442197 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/java-diff-utils/java-diff-utils/33/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0d4f4f2b73eb4c50c66b1e8ee1389c86e18b46aa43809f28bcac6c70ce8a1adb/java-diff-utils/java-diff-utils/issues/33 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0d4f4f2b73eb4c50c66b1e8ee1389c86e18b46aa43809f28bcac6c70ce8a1adb/java-diff-utils/java-diff-utils/issues/33 |
| og:image:alt | Expected Behavior Unified patches from git to parse correctly Actual Behavior The git diffs contain extra context after the chunk header @@ suffix (I think its the closest line above the chunk with... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nbransby |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/java-diff-utils/java-diff-utils git https://github.com/java-diff-utils/java-diff-utils.git |
| octolytics-dimension-user_id | 40540835 |
| octolytics-dimension-user_login | java-diff-utils |
| octolytics-dimension-repository_id | 86663812 |
| octolytics-dimension-repository_nwo | java-diff-utils/java-diff-utils |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 86663812 |
| octolytics-dimension-repository_network_root_nwo | java-diff-utils/java-diff-utils |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width