However, the default repo.git.diff
shows the diff with double dot. Is there a way to achieve triple dot diff using gitpython
?
\nReference on double dot and triple dot diff: https://matthew-brett.github.io/pydagogue/git_diff_dots.html
Maybe this works?
\nrepo.git.diff(\"{}...{}\".format(commit_a, commit_b), ignore_blank_lines=True, ignore_space_at_eol=True)
-
I am getting the diff between two commits using
However, the default |
Beta Was this translation helpful? Give feedback.
-
Maybe this works? repo.git.diff("{}...{}".format(commit_a, commit_b), ignore_blank_lines=True, ignore_space_at_eol=True) |
Beta Was this translation helpful? Give feedback.
Maybe this works?