Skip to content

Commit: retrieve tree and parents' ids directly#311

Merged
jdavid merged 2 commits intolibgit2:masterfrom
carlosmn:commit-attr-id
Jan 19, 2014
Merged

Commit: retrieve tree and parents' ids directly#311
jdavid merged 2 commits intolibgit2:masterfrom
carlosmn:commit-attr-id

Conversation

@carlosmn
Copy link
Copy Markdown
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