FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fetchAll() fails unless a default signature is available · Issue #431 · nodegit/nodegit · GitHub

Repository navigation

fetchAll() fails unless a default signature is available #431

Description

version 0.2.7

fetchAll() fails with [Error: Config value 'user.name' was not found] unless git global config 'user.name' is set to a non-empty string. If the string is empty the error is [Error: Failed to parse signature - Signature cannot have an empty name]. The fetchAll() function does not take a signature parameter, and ends up calling repo.defaultSignature().

To reproduce:
$ git config --global --unset user.name
or
$ git config --global user.name ''

Setting the system or local user.name makes no difference.
As far as I can tell there is no way to set the default user name other than via the command line.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL