{"action":"created","issue":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/431","labels_url":"https://api.github.com/repos/nodegit/nodegit/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/nodegit/nodegit/issues/431/comments","events_url":"https://api.github.com/repos/nodegit/nodegit/issues/431/events","html_url":"https://github.com/nodegit/nodegit/issues/431","id":59142307,"number":431,"title":"fetchAll() fails unless a default signature is available","user":{"login":"alexmcarthur","id":827078,"avatar_url":"https://avatars.githubusercontent.com/u/827078?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmcarthur","html_url":"https://github.com/alexmcarthur","followers_url":"https://api.github.com/users/alexmcarthur/followers","following_url":"https://api.github.com/users/alexmcarthur/following{/other_user}","gists_url":"https://api.github.com/users/alexmcarthur/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmcarthur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmcarthur/subscriptions","organizations_url":"https://api.github.com/users/alexmcarthur/orgs","repos_url":"https://api.github.com/users/alexmcarthur/repos","events_url":"https://api.github.com/users/alexmcarthur/events{/privacy}","received_events_url":"https://api.github.com/users/alexmcarthur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-26T20:57:37Z","updated_at":"2015-03-02T15:53:33Z","closed_at":null,"body":"version 0.2.7\r\n\r\nfetchAll() 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().\r\n\r\nTo reproduce:\r\n$ git config --global --unset user.name\r\nor\r\n$ git config --global user.name ''\r\n\r\nSetting the system or local user.name makes no difference.\r\nAs far as I can tell there is no way to set the default user name other than via the command line.\r\n"},"comment":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/comments/76736836","html_url":"https://github.com/nodegit/nodegit/issues/431#issuecomment-76736836","issue_url":"https://api.github.com/repos/nodegit/nodegit/issues/431","id":76736836,"user":{"login":"johnhaley81","id":867780,"avatar_url":"https://avatars.githubusercontent.com/u/867780?v=3","gravatar_id":"","url":"https://api.github.com/users/johnhaley81","html_url":"https://github.com/johnhaley81","followers_url":"https://api.github.com/users/johnhaley81/followers","following_url":"https://api.github.com/users/johnhaley81/following{/other_user}","gists_url":"https://api.github.com/users/johnhaley81/gists{/gist_id}","starred_url":"https://api.github.com/users/johnhaley81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnhaley81/subscriptions","organizations_url":"https://api.github.com/users/johnhaley81/orgs","repos_url":"https://api.github.com/users/johnhaley81/repos","events_url":"https://api.github.com/users/johnhaley81/events{/privacy}","received_events_url":"https://api.github.com/users/johnhaley81/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T15:53:33Z","updated_at":"2015-03-02T15:53:33Z","body":"I'm thinking that it should default to \"unknown\". That seems more like what git CLI does. If you want to overwrite the default signature then don't call the convenience method and call the actual `Remote.prototype.fetch` method."}}