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

Support for Graphs #88

Merged
merged 3 commits into from
Apr 25, 2014
Merged

Support for Graphs #88

merged 3 commits into from
Apr 25, 2014

Conversation

jacquesg
Copy link
Owner

This PR adds Git::Raw::Graph, with method is_ancestor_of.

Also added:

  • Internal method git_sv_to_commitish which can resolve a "commitish" to a commit id, that is a Git::Raw::Reference, Git::Raw::Commit or an object id (or its prefix).
  • Git::Raw::Commit->ancestor()
  • Git::Repository->merge_base() can also now accept a "commitish" object, like Git::Raw::Graph->is_descendant_of()

@jacquesg jacquesg changed the title WIP: Graphs Support for Graphs Apr 24, 2014
@jacquesg jacquesg changed the title Support for Graphs WIP: Support for Graphs Apr 24, 2014
@jacquesg jacquesg changed the title WIP: Support for Graphs Support for Graphs Apr 24, 2014
@jacquesg jacquesg merged commit 070a3a0 into jacquesg:master Apr 25, 2014
jacquesg added a commit that referenced this pull request Apr 25, 2014
@jacquesg jacquesg deleted the commit-descendant branch April 25, 2014 16:06
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

Successfully merging this pull request may close these issues.

None yet

1 participant