Title: Handle directory-file and file-directory comparisons in the diff by TanmayPatil105 · Pull Request #56 · uutils/diffutils · GitHub
Open Graph Title: Handle directory-file and file-directory comparisons in the diff by TanmayPatil105 · Pull Request #56 · uutils/diffutils
X Title: Handle directory-file and file-directory comparisons in the diff by TanmayPatil105 · Pull Request #56 · uutils/diffutils
Description: GNU diff treats diff DIRECTORY FILE as diff DIRECTORY/FILE FILE $ echo a > a $ mkdir d $ echo da > d/a $ diff -u d a --- d/a 2024-04-20 22:16:11.145369745 +0530 +++ a 2024-04-20 22:15:57.785813179 +0530 @@ -1 +1 @@ -da +a $ diff -u a d --- a 2024-04-20 22:15:57.785813179 +0530 +++ d/a 2024-04-20 22:16:11.145369745 +0530 @@ -1 +1 @@ -a +da $ cargo run -- -u d a Finished dev [unoptimized + debuginfo] target(s) in 0.02s Running `target/debug/diffutils -u d a` --- d/a 2024-04-20 22:16:11.145369745 +0530 +++ a 2024-04-20 22:15:57.785813179 +0530 @@ -1 +1 @@ -da +a $ cargo run -- -u a d Finished dev [unoptimized + debuginfo] target(s) in 0.02s Running `target/debug/diffutils -u a d` --- a 2024-04-20 22:15:57.785813179 +0530 +++ d/a 2024-04-20 22:16:11.145369745 +0530 @@ -1 +1 @@ -a +da
Open Graph Description: GNU diff treats diff DIRECTORY FILE as diff DIRECTORY/FILE FILE $ echo a > a $ mkdir d $ echo da > d/a $ diff -u d a --- d/a 2024-04-20 22:16:11.145369745 +0530 +++ a 2024-04-20 22:15:57.785...
X Description: GNU diff treats diff DIRECTORY FILE as diff DIRECTORY/FILE FILE $ echo a > a $ mkdir d $ echo da > d/a $ diff -u d a --- d/a 2024-04-20 22:16:11.145369745 +0530 +++ a 2024-04-20 22:1...
Opengraph URL: https://github.com/uutils/diffutils/pull/56
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8f7c8d70-52f1-67fc-915c-4ea20d004f43 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E280:3CB688:10DF8DB:173F520:6A4DDEDB |
| html-safe-nonce | e09cd85f3a60d2984819b344502fd8ffea42a259345811b9c5422168db24b9e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjgwOjNDQjY4ODoxMERGOERCOjE3M0Y1MjA6NkE0RERFREIiLCJ2aXNpdG9yX2lkIjoiMTQ2NjM3MzE0NTk3OTkwMzcwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1977c323dc2fab94a35708ee01b650ab6b88fd96b8d01cdb9e7c1dad963de6e8 |
| hovercard-subject-tag | pull_request:1832947591 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/uutils/diffutils/pull/56/files |
| twitter:image | https://avatars.githubusercontent.com/u/92677342?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/92677342?s=400&v=4 |
| og:image:alt | GNU diff treats diff DIRECTORY FILE as diff DIRECTORY/FILE FILE $ echo a > a $ mkdir d $ echo da > d/a $ diff -u d a --- d/a 2024-04-20 22:16:11.145369745 +0530 +++ a 2024-04-20 22:15:57.785... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width