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
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
Heya,
[+scott, vincent]
On Thu, Mar 3, 2011 at 17:08, Joshua Jensen <jjensen@workspacewhiz.com> 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