Re: libgit2: Resolving HEAD to a SHA
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Mar 3, 2011, 17:31 UTC
- Message-ID
- <AANLkTi=Cb2HTqopLs9J1cgakJGNz2O_o7mhW7nKzbqY2@mail.gmail.com>
- In-Reply-To
- <4D6FBD00.6010208@workspacewhiz.com>
Heya,
[+scott, vincent]
On Thu, Mar 3, 2011 at 17:08, Joshua Jensen <jjensen@workspacewhiz.com> wrote:
Show 9 quoted lines
> 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