Closed jaanauati closed 3 years ago
This may be a dumb question, but not clear for me, what's the equivalent of git diff ... -- foo.txt?.
git diff ... -- foo.txt
Thank you!
@jaanauati : The way I do this with pygit2 is to navigate the Diff object returned by Repository.diff to get the hunks only for that file.
Diff
Repository.diff
@zomglings I ended up doing it in that way. Thank you!.
This may be a dumb question, but not clear for me, what's the equivalent of
git diff ... -- foo.txt
?.Thank you!