From: Sverre Rabbelier Date: Thu, 03 Mar 2011 17:31:01 GMT Subject: Re: libgit2: Resolving HEAD to a SHA Message-ID: In-Reply-To: <4D6FBD00.6010208@workspacewhiz.com> Heya, [+scott, vincent] On Thu, Mar 3, 2011 at 17:08, Joshua Jensen 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