Title: When range of lines is a single line, the format differs from upstream · Issue #10 · uutils/diffutils · GitHub
Open Graph Title: When range of lines is a single line, the format differs from upstream · Issue #10 · uutils/diffutils
X Title: When range of lines is a single line, the format differs from upstream · Issue #10 · uutils/diffutils
Description: For the normal diff, when range of lines is a single line, the format differs from upstream. (spotted when trying to run the upstream test suite, specifically that test) Upstream compacts range "a,a" as just "a": echo a > a echo b > b di...
Open Graph Description: For the normal diff, when range of lines is a single line, the format differs from upstream. (spotted when trying to run the upstream test suite, specifically that test) Upstream compacts range "a,...
X Description: For the normal diff, when range of lines is a single line, the format differs from upstream. (spotted when trying to run the upstream test suite, specifically that test) Upstream compacts range &qu...
Opengraph URL: https://github.com/uutils/diffutils/issues/10
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"When range of lines is a single line, the format differs from upstream","articleBody":"For the normal diff, when range of lines is a single line, the format differs from upstream.\r\n\r\n(spotted when trying to run the upstream test suite, specifically [that test](https://git.savannah.gnu.org/cgit/diffutils.git/tree/tests/basic))\r\n\r\nUpstream compacts range \"a,a\" as just \"a\":\r\n```sh\r\necho a \u003e a\r\necho b \u003e b\r\ndiff a b | head -1 # outputs \"1c1\"\r\n```\r\nWhereas this implementation doesn't compact it:\r\n```sh\r\ncargo run a b # incorrectly outputs \"1,1c1,1\"\r\n```\r\n ","author":{"url":"https://github.com/oSoMoN","@type":"Person","name":"oSoMoN"},"datePublished":"2024-02-07T19:47:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/10/diffutils/issues/10"}
| 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:74672457-0e7b-1901-dc67-d60498ae702f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECC0:A696A:C8EA9:124458:6A4DFA7D |
| html-safe-nonce | 2574abf18e93fa7eff7f505f4f6892a888ee12552981c388a79a7a385de43142 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0MwOkE2OTZBOkM4RUE5OjEyNDQ1ODo2QTRERkE3RCIsInZpc2l0b3JfaWQiOiIxNDkwMTMyNjAwMTE4NzA0NzY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e86e099e32a0df2702b56af753a8129852585b23995badf0c6c5e010b5ddaa20 |
| hovercard-subject-tag | issue:2123755482 |
| 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/uutils/diffutils/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5122b4d41daf3c6fbbf940c6cc5666a7bfab7f67e414f128c3098da94163f06b/uutils/diffutils/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5122b4d41daf3c6fbbf940c6cc5666a7bfab7f67e414f128c3098da94163f06b/uutils/diffutils/issues/10 |
| og:image:alt | For the normal diff, when range of lines is a single line, the format differs from upstream. (spotted when trying to run the upstream test suite, specifically that test) Upstream compacts range "a,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oSoMoN |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-preview |
| go-import | github.com/uutils/diffutils git https://github.com/uutils/diffutils.git |
| octolytics-dimension-user_id | 5148717 |
| octolytics-dimension-user_login | uutils |
| octolytics-dimension-repository_id | 341787720 |
| octolytics-dimension-repository_nwo | uutils/diffutils |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 341787720 |
| octolytics-dimension-repository_network_root_nwo | uutils/diffutils |
| 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 | 4314b1df11fa8a565684f3a72dc971e3785da365 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width