libgit2 / libgit2sharp

Git + .NET = ❤
http://libgit2.github.com
MIT License
3.17k stars 886 forks source link

Diff folders inside the same commit #2055

Open PulsarFX opened 1 year ago

PulsarFX commented 1 year ago

I'd like to do something like this with libgit2sharp:

git diff --no-index folderA/src folderB/src  > diffBetweenAandB.diff

which gets the diff between folderA and folderB regardless of its branch or tag. Just diff what is on disk.

Currently it is only possible to show changes between the working directory and the index.

v libgit2sharp.0.27.0-preview-0175