Visitar URL original
Diff for commits and branches? · Issue #38 · libgit2/php-git · GitHub
Skip to content

Diff for commits and branches? #38

Description

@dubcanada

Hello,

Is there a method for diffing between commits or branches?

  • Steve

Activity

  1. chobie commented on Oct 18, 2012

    @chobie
    Member

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

  2. dubcanada commented on Oct 30, 2012

    @dubcanada
    Author

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

  3. chobie commented on Nov 5, 2012

    @chobie
    Member

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

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

  4. dubcanada commented on Nov 10, 2012

    @dubcanada
    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 +_+

  5. chobie commented on Nov 11, 2012

    @chobie
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions