Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

libgit2: Resolving HEAD to a SHA

From: Joshua Jensen <hidden>
Date: 2016-06-15 22:50:42

I spent a couple hours yesterday trying different methods of resolving 
HEAD to its appropriate SHA-1.  At best, I could get a resolution of 
HEAD to 'master'.

How do I achieve the functionality of 'git rev-parse' with the libgit2 API?

Thanks.

Josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help