Title: How can i set create_patch=true, and meanwhile get change_type in Diff · Issue #1897 · gitpython-developers/GitPython · GitHub
Open Graph Title: How can i set create_patch=true, and meanwhile get change_type in Diff · Issue #1897 · gitpython-developers/GitPython
X Title: How can i set create_patch=true, and meanwhile get change_type in Diff · Issue #1897 · gitpython-developers/GitPython
Description: I find that when i use commit1.diff(commit2,create_patch = true), chang_type of Diff is aways none. if create_patch = False, i kown that i can get chang_type of Diff , but I can get hunk text. Can i get Diff text ,and meanWhile get chang...
Open Graph Description: I find that when i use commit1.diff(commit2,create_patch = true), chang_type of Diff is aways none. if create_patch = False, i kown that i can get chang_type of Diff , but I can get hunk text. Can ...
X Description: I find that when i use commit1.diff(commit2,create_patch = true), chang_type of Diff is aways none. if create_patch = False, i kown that i can get chang_type of Diff , but I can get hunk text. Can ...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1897
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How can i set create_patch=true, and meanwhile get change_type in Diff","articleBody":"I find that when i use commit1.diff(commit2,create_patch = true), chang_type of Diff is aways none. if create_patch = False, i kown that i can get chang_type of Diff , but I can get hunk text.\r\n\r\nCan i get Diff text ,and meanWhile get chang_type of Diff?","author":{"url":"https://github.com/SongXueZhi","@type":"Person","name":"SongXueZhi"},"datePublished":"2024-04-02T08:34:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1897/GitPython/issues/1897"}
| 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:e4e892d2-cf65-a8de-341b-a03d56eeae88 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BADC:2ECB0B:2A0CD7:3B8F91:696A00BC |
| html-safe-nonce | 8bde929edc9a80f0d11a3347edefa94d19bd839ff0f721fbfd461fb78f0a58f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQURDOjJFQ0IwQjoyQTBDRDc6M0I4RjkxOjY5NkEwMEJDIiwidmlzaXRvcl9pZCI6IjYxMTE3MDMyNjExNjE3MTk2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9835a35b5999da0bbcf6f2461f4ca2db81e4d6dbfa757e7da69323baf9dedfd8 |
| hovercard-subject-tag | issue:2219900127 |
| 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/1897/issue_layout |
| twitter:image | https://opengraph.githubassets.com/805d94d41b256d0f8c2ab0ea60b99f1eeb947c3b44d71920fb99212a7bec986f/gitpython-developers/GitPython/issues/1897 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/805d94d41b256d0f8c2ab0ea60b99f1eeb947c3b44d71920fb99212a7bec986f/gitpython-developers/GitPython/issues/1897 |
| og:image:alt | I find that when i use commit1.diff(commit2,create_patch = true), chang_type of Diff is aways none. if create_patch = False, i kown that i can get chang_type of Diff , but I can get hunk text. Can ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SongXueZhi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width