Skip to content

Bind git_graph_* functions #37

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

Merged
merged 1 commit into from
Jan 6, 2015
Merged

Conversation

cysp
Copy link
Contributor

@cysp cysp commented Jan 5, 2015

What do you reckon about having these in repo.rs?
Also how 'bout that u32 cast?

@@ -1020,6 +1020,24 @@ impl Repository {
Ok(Oid::from_raw(&raw))
}
}

/// Calculate how far ahead and/or behind a `local` commit is compared to `upstream`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I typically just copy/paste the documentation in libgit2 itself, could this also include the extended docs?

https://libgit2.github.com/libgit2/#HEAD/group/graph/git_graph_ahead_behind

@alexcrichton
Copy link
Member

Thanks!

@cysp cysp force-pushed the feature/git_graph branch from ca405f1 to 496e6f8 Compare January 5, 2015 21:01
alexcrichton added a commit that referenced this pull request Jan 6, 2015
@alexcrichton alexcrichton merged commit 4315e85 into rust-lang:master Jan 6, 2015
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.

2 participants