Title: How to disable check for renames? · Issue #1194 · gitpython-developers/GitPython · GitHub
Open Graph Title: How to disable check for renames? · Issue #1194 · gitpython-developers/GitPython
X Title: How to disable check for renames? · Issue #1194 · gitpython-developers/GitPython
Description: Hi, I've tried to use the following to disable git diff renamed files search: repo.index.diff('origin/HEAD', no_renames=True) This did not work, and after some digging, i've found that GitPython hardcodes the -M flag: https://github.com/...
Open Graph Description: Hi, I've tried to use the following to disable git diff renamed files search: repo.index.diff('origin/HEAD', no_renames=True) This did not work, and after some digging, i've found that GitPython ha...
X Description: Hi, I've tried to use the following to disable git diff renamed files search: repo.index.diff('origin/HEAD', no_renames=True) This did not work, and after some digging, i've found t...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1194
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to disable check for renames?","articleBody":"Hi,\r\n\r\nI've tried to use the following to disable git diff renamed files search:\r\n```\r\nrepo.index.diff('origin/HEAD', no_renames=True)\r\n```\r\n\r\nThis did not work, and after some digging, i've found that GitPython hardcodes the `-M` flag:\r\nhttps://github.com/gitpython-developers/GitPython/blob/master/git/diff.py#L106\r\n\r\nWhy is this flag hardcoded and is there a way around it?\r\n\r\nThanks\r\n","author":{"url":"https://github.com/dudicoco","@type":"Person","name":"dudicoco"},"datePublished":"2021-03-11T22:37:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1194/GitPython/issues/1194"}
| 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:65e8b2c1-adc6-84b1-e81d-bfd59ea81dc2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E36C:2A2ECD:1D95D79:28CBD51:69839E99 |
| html-safe-nonce | 5b41e721b525fee142f67088c453c89bd435ce52dd8ffa4dd7c75bad584a9afc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzZDOjJBMkVDRDoxRDk1RDc5OjI4Q0JENTE6Njk4MzlFOTkiLCJ2aXNpdG9yX2lkIjoiMjE0MTg5MTY0NTMwMDUxNDQ1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f928ae9320d176d0a024b72efd873c1a1a9fc3c37b59e3be61b0388f4f3051b1 |
| hovercard-subject-tag | issue:829577425 |
| 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/1194/issue_layout |
| twitter:image | https://opengraph.githubassets.com/759064a641dc7e5eea3405def58210f5fbcb5e92fa2895aabf2e4049c6268131/gitpython-developers/GitPython/issues/1194 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/759064a641dc7e5eea3405def58210f5fbcb5e92fa2895aabf2e4049c6268131/gitpython-developers/GitPython/issues/1194 |
| og:image:alt | Hi, I've tried to use the following to disable git diff renamed files search: repo.index.diff('origin/HEAD', no_renames=True) This did not work, and after some digging, i've found that GitPython ha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dudicoco |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7699ccbba3b095b9f14b397996883c8051252cc30d8d2194d378e7f60f59f486 |
| 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 | 3cbd11eaf02e2079088f0102bc8fb4a0f04c06f2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width