hi, im trying to get the commit at my current HEAD: ``` return repo.getReference('HEAD').then(function(ref) { return repo.getCommit(ref.target()); }); ``` but im getting an error: ``` TypeError: Object object has no method 'resolve' at node_modules/nodegit/lib/repository.js:68:24 ``` nodegit version: current master (e9fa6f1fa7eb)
Activity
[-]unable to resolve synbolic reference[/-][+]unable to resolve symbolic references[/+]maxkorp commentedon Nov 10, 2014
Hi, a pretty large changeset has dropped on master since then, can you try again and let us know if this is still an issue?
chpio commentedon Nov 10, 2014
it's working now, thank you
Athaphian commentedon Dec 4, 2014
When I do this in version 0.2.3:
I do not see 'success' nor 'error'. It just doesn't do anything. If it fails, I would expect to see 'error'..