Title: unified diff parser in unified-diff-parser branch parsing issues · Issue #46 · java-diff-utils/java-diff-utils · GitHub
Open Graph Title: unified diff parser in unified-diff-parser branch parsing issues · Issue #46 · java-diff-utils/java-diff-utils
X Title: unified diff parser in unified-diff-parser branch parsing issues · Issue #46 · java-diff-utils/java-diff-utils
Description: hi a unified diff such as the one below is not parsed properly. i do see that the parse complete however the fromFile gets updated with the content of the line '---' out of the line fragments. essentially the fromFile is "some comment" a...
Open Graph Description: hi a unified diff such as the one below is not parsed properly. i do see that the parse complete however the fromFile gets updated with the content of the line '---' out of the line fragments. esse...
X Description: hi a unified diff such as the one below is not parsed properly. i do see that the parse complete however the fromFile gets updated with the content of the line '---' out of the line fragmen...
Opengraph URL: https://github.com/java-diff-utils/java-diff-utils/issues/46
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"unified diff parser in unified-diff-parser branch parsing issues","articleBody":"hi\r\n\r\na unified diff such as the one below is not parsed properly. i do see that the parse complete however the fromFile gets updated with the content of the line '---' out of the line fragments. essentially the fromFile is \"some comment\" after the parse.\r\n```\r\n--- a.vhd\t2019-04-18 13:49:39.516149751 +0200\r\n+++ b.vhd\t2019-04-18 11:33:08.372563078 +0200\r\n@@ -2819,3 +2819,3 @@\r\n--- some comment\r\n-bla\r\n-bla\r\n+\r\n+\r\n```\r\nread the above unified patch into using\r\n\r\n val diff = UnifiedDiffReader.parseUnifiedDiff(diff_file)\r\n","author":{"url":"https://github.com/uwesimm","@type":"Person","name":"uwesimm"},"datePublished":"2019-08-09T17:30:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/46/java-diff-utils/issues/46"}
| 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:cba27d4f-4493-d9a3-6474-f25273e58f93 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1FA:256EA0:9637D2:C788BC:69698FAB |
| html-safe-nonce | e1c86ba2779fa82301748336aba9bb919e07ee5b38cec2deb60ffad74465ce2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUZBOjI1NkVBMDo5NjM3RDI6Qzc4OEJDOjY5Njk4RkFCIiwidmlzaXRvcl9pZCI6IjM2ODg2NTU4NTI3NDMwMDQwNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | add480f152526b498bdd50eaa753f5948d2c6dbad6411267900892460fa466e0 |
| hovercard-subject-tag | issue:479092520 |
| 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/46/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f20ae2486a6ea30abd9537a37c759da0f9541adbfe097c911970c6d9f8a0c83c/java-diff-utils/java-diff-utils/issues/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f20ae2486a6ea30abd9537a37c759da0f9541adbfe097c911970c6d9f8a0c83c/java-diff-utils/java-diff-utils/issues/46 |
| og:image:alt | hi a unified diff such as the one below is not parsed properly. i do see that the parse complete however the fromFile gets updated with the content of the line '---' out of the line fragments. esse... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | uwesimm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width