git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libgit2: Resolving HEAD to a SHA
@ 2011-03-03 16:08 Joshua Jensen
  2011-03-03 17:31 ` Sverre Rabbelier
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Jensen @ 2011-03-03 16:08 UTC (permalink / raw)
  To: git@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libgit2: Resolving HEAD to a SHA
  2011-03-03 16:08 libgit2: Resolving HEAD to a SHA Joshua Jensen
@ 2011-03-03 17:31 ` Sverre Rabbelier
  0 siblings, 0 replies; 2+ messages in thread
From: Sverre Rabbelier @ 2011-03-03 17:31 UTC (permalink / raw)
  To: Joshua Jensen, vicent, Scott Chacon; +Cc: git@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-03 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 16:08 libgit2: Resolving HEAD to a SHA Joshua Jensen
2011-03-03 17:31 ` Sverre Rabbelier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).