libgit2: Resolving HEAD to a SHA

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

Re: libgit2: Resolving HEAD to a SHA

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:50:42

Heya,

[+scott, vincent]

On Thu, Mar 3, 2011 at 17:08, Joshua Jensen [off-list ref] wrote:
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
-- 
Cheers,

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