Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i set create_patch=true, and meanwhile get change_type in Diff #1897

Closed
SongXueZhi opened this issue Apr 2, 2024 · 0 comments
Closed

Comments

@SongXueZhi
Copy link

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_type of Diff?

@gitpython-developers gitpython-developers locked and limited conversation to collaborators Apr 2, 2024
@Byron Byron converted this issue into discussion #1898 Apr 2, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Development

No branches or pull requests

1 participant