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:25Z","url":"https://github.com/gitpython-developers/GitPython/issues/1897"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:1af9e1c0-1294-90ba-811b-9a10145324ca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E69E:ADA9D:10A56DB:1583DD3:6B010741 |
| html-safe-nonce | ed9ceee95a9aff36087f639a5a7a3d15fc26256c188e0ca79d5f2b9c41865e2a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjlFOkFEQTlEOjEwQTU2REI6MTU4M0REMzo2QjAxMDc0MSIsInZpc2l0b3JfaWQiOiI3MDMxMjU2MDIyNTE3ODc2NTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a9ec9ec62a6a3a2a76887e5f9d61fc78523f63aa33d0f22994c3ffed08b99fc4 |
| 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 | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width