Skip to content

Support excluding files/directories in the method Commit.diff #1260

Answered by Byron
dclong asked this question in Q&A
Discussion options

You must be logged in to vote

Did you try to use **kwargs which will be passed to the git diff command directly? Invocations would look like repo.head.commit.diff(diff_filter='a').

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hofbi
Comment options

@Byron
Comment options

@hofbi
Comment options

Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1259 on May 31, 2021 00:01.