Replies: 1 comment 1 reply
-
I believe I have worked around in following way:
I believe this issue can now be closed. But I'll leave the decision to the project admin. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In command line, I can do
git diff master..branch
and alsogit diff master...branch
. However, in gitPython, it seems thecommit.diff(commit2)
is only doing two dot diff. And I couldn't find a way to do three dot diff directly (I have searched through the document and googled around).I am thinking to find the commit where we branch off, and then do a two way diff - this would be the same as the three way diff of two branches. But it does not work exactly as expected:
Would you have any recommendation?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions