From: Joshua Jensen Date: Thu, 03 Mar 2011 16:08:32 GMT Subject: libgit2: Resolving HEAD to a SHA Message-ID: <4D6FBD00.6010208@workspacewhiz.com> 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