Skip to content

How to get gix::objs::Tree from repo.head_commit()? #795

Closed Answered by Byron
Reverier-Xu asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for making me aware. Creating trees for commits indeed is a very manual process right now, and would you are trying to do should definitely be supported.

That said, in main you will now find 7c2e5c8d08e4dd1ec115ae06f20f9c8f93d6d616 which makes it possible to turn a gix::Tree into a gix::objs::Tree with tree.try_into().

I hope that helps.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Reverier-Xu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants