How can I get a diff object of a triple dot diff? · gitpython-developers/GitPython · Discussion #1851
Repository navigation
How can I get a diff object of a triple dot diff? #1851
Unanswered itamarsch asked this question in Q&A How can I get a diff object of a triple dot diff? #1851 itamarsch Feb 29, 2024 · 1 comment Return to top Discussion optionsitamarsch Feb 29, 2024
|
I'm trying to compare the diffs between two branches for a git forge project and I tried using: diff = repo.git.diff(f"{branch1}...{branch2}")
But the diff result is a string and I need a diff object. |
Replies: 1 comment
Comment options
Byron
Feb 29, 2024
Maintainer
|
This just invokes the In order to get diffs, the higher-level API is needed, but I am not sure if diffs can be specified using the |