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

Commit: retrieve tree and parents' ids directly #311

Merged
merged 2 commits into from
Jan 19, 2014

Conversation

carlosmn
Copy link
Member

Allow direct access to the tree and parents' ids directly instead of having to load the objects just to get to this data.

This fixes #73.


I'm not completely sure about the 'parents' naming, parents_ids seemed to have too many plurals in it.

Let the user retrieve the ID of the commit's tree instead of having to
load the tree just to retrieve this information.
Don't force the user to load the parents in order to get their ids, but
expose a list of the ids directly.
@jdavid jdavid merged commit 1b473b7 into libgit2:master Jan 19, 2014
@carlosmn carlosmn deleted the commit-attr-id branch January 21, 2014 01:26
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.

Commit access to tree and parents oids
2 participants