Diff for commits and branches?
dubcanada opened this issue · 5 comments
dubcanada commented
Hello,
Is there a method for diffing between commits or branches?
- Steve
chobie commented
Not yet. I'll plan to add diff API.
dubcanada commented
Excellent! I can't wait to change over from git cli to libgit for diffs!
chobie commented
sorry for late response. my job is killing me
I'll take a look into this feature in this week end.
dubcanada commented
No problem take your time. If I knew what I was doing with C <> PHP I could do it, but sadly I have no idea +_+
chobie commented
I've added Git2\Repository::diff($tree1, $tree2)
feature. you can parse this output easily.
If I knew what I was doing with C <> PHP I could do it, but sadly I have no idea +_+
if you want to know that. this book is the best i think :)