Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diff for commits and branches? #38

Open
dubcanada opened this issue Oct 16, 2012 · 5 comments
Open

Diff for commits and branches? #38

dubcanada opened this issue Oct 16, 2012 · 5 comments

Comments

@dubcanada
Copy link

Hello,

Is there a method for diffing between commits or branches?

  • Steve
@chobie
Copy link
Member

chobie commented Oct 18, 2012

Not yet. I'll plan to add diff API.

@dubcanada
Copy link
Author

Excellent! I can't wait to change over from git cli to libgit for diffs!

@chobie
Copy link
Member

chobie commented Nov 5, 2012

sorry for late response. my job is killing me :shipit:

I'll take a look into this feature in this week end.

@dubcanada
Copy link
Author

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
Copy link
Member

chobie commented Nov 11, 2012

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 :)

http://www.amazon.com/dp/067232704X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants