Skip to content

unable to resolve symbolic references #262

Description

@chpio

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 (e9fa6f1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions