Title: Do diffs detect renamed files properly? · Issue #36 · gitpython-developers/GitPython · GitHub
Open Graph Title: Do diffs detect renamed files properly? · Issue #36 · gitpython-developers/GitPython
X Title: Do diffs detect renamed files properly? · Issue #36 · gitpython-developers/GitPython
Description: I'm using following code for detecting changes between commits: diff = commit.diff(*parents, R = True, M = True) Everything works ok in except of renames. When I use M = True it should detect renames instead of add / deletions. However, ...
Open Graph Description: I'm using following code for detecting changes between commits: diff = commit.diff(*parents, R = True, M = True) Everything works ok in except of renames. When I use M = True it should detect renam...
X Description: I'm using following code for detecting changes between commits: diff = commit.diff(*parents, R = True, M = True) Everything works ok in except of renames. When I use M = True it should detect r...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/36
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Do diffs detect renamed files properly?","articleBody":"I'm using following code for detecting changes between commits:\n\n``` python\ndiff = commit.diff(*parents, R = True, M = True)\n```\n\nEverything works ok in except of renames. When I use `M = True` it should detect renames instead of add / deletions. However, when I use it, it doesn't return anything. Is this a bug or did I just misunderstand how to use it?\n\nThe thing I noticed in `git log -M` is that instead of `R` it shows me `R100` (not really sure whether it's normal or not):\n\n\u003e commit a8b61b9d18350a3d44e50fc9614279a2654b646d\n\u003e Author: ondrowan \u003c...\u003e\n\u003e Date: Sat Nov 5 12:16:21 2011 +0100\n\u003e \n\u003e Moved thing\n\u003e \n\u003e R100 thing newdir/moved_thing\n","author":{"url":"https://github.com/ondrowan","@type":"Person","name":"ondrowan"},"datePublished":"2011-11-10T20:56:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/36/GitPython/issues/36"}
| 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:cbc8decb-6103-71a7-35f2-2a570db5c45d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E700:2BD050:9D43B:E68E1:6A636146 |
| html-safe-nonce | 25a39d0701d0b0bb99f34d3400d3156ea6035530970959b928523798bda43f80 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzAwOjJCRDA1MDo5RDQzQjpFNjhFMTo2QTYzNjE0NiIsInZpc2l0b3JfaWQiOiI1MzIxMTA0ODEyMzc3NTk2MjMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 895d864e02fe05f9b3975c49ec9e94be57f151e47169914cce084788d8854813 |
| hovercard-subject-tag | issue:2202626 |
| 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/gitpython-developers/GitPython/36/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d96ce679de06b0e7ac434f33ef78043271e4b3259e82466bd37e538e4f535a82/gitpython-developers/GitPython/issues/36 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d96ce679de06b0e7ac434f33ef78043271e4b3259e82466bd37e538e4f535a82/gitpython-developers/GitPython/issues/36 |
| og:image:alt | I'm using following code for detecting changes between commits: diff = commit.diff(*parents, R = True, M = True) Everything works ok in except of renames. When I use M = True it should detect renam... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ondrowan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| 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 | 71b1218de2f2ab29c4d5ce72568e68e2c56044c6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width