{"action":"created","issue":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/892","repository_url":"https://api.github.com/repos/nodegit/nodegit","labels_url":"https://api.github.com/repos/nodegit/nodegit/issues/892/labels{/name}","comments_url":"https://api.github.com/repos/nodegit/nodegit/issues/892/comments","events_url":"https://api.github.com/repos/nodegit/nodegit/issues/892/events","html_url":"https://github.com/nodegit/nodegit/issues/892","id":131197039,"number":892,"title":"GIT_EBUFS error being thrown on successful push the AWS CodeCommit repository.","user":{"login":"Murcho","id":4414224,"avatar_url":"https://avatars.githubusercontent.com/u/4414224?v=3","gravatar_id":"","url":"https://api.github.com/users/Murcho","html_url":"https://github.com/Murcho","followers_url":"https://api.github.com/users/Murcho/followers","following_url":"https://api.github.com/users/Murcho/following{/other_user}","gists_url":"https://api.github.com/users/Murcho/gists{/gist_id}","starred_url":"https://api.github.com/users/Murcho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Murcho/subscriptions","organizations_url":"https://api.github.com/users/Murcho/orgs","repos_url":"https://api.github.com/users/Murcho/repos","events_url":"https://api.github.com/users/Murcho/events{/privacy}","received_events_url":"https://api.github.com/users/Murcho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-04T00:12:06Z","updated_at":"2016-02-04T00:14:41Z","closed_at":null,"body":"After pushing to changes to a git repository on AWS CodeCommit using SSH based credentials, an error is thrown, however the push to AWS is successful.  The error message is\r\n\r\n`Error: Method push has thrown an error.`\r\n\r\nand the error number is `{\"errno\":-6}`, which I've tracked back to GIT_EBUFS found here https://github.com/nodegit/nodegit/blob/44779afd0d460011e13a5cba9a47a48119aa472e/vendor/libgit2/include/git2/errors.h#L28\r\n\r\nI've got a reproduction case here : https://gist.github.com/Murcho/fcba744b2870fa38531f\r\n\r\nRequirements for the case are:\r\n\r\n- Set up an AWS CodeCommit account.\r\n- Create an IAM user account.\r\n- Follow this guide for setting up the AWS IAM account with your SSH keys http://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-without-cli.html\r\n- Add 2 permissions to the IAM user : AWSCodeCommitFullAccess and IAMUserSSHKeys.\r\n"},"comment":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/comments/179545624","html_url":"https://github.com/nodegit/nodegit/issues/892#issuecomment-179545624","issue_url":"https://api.github.com/repos/nodegit/nodegit/issues/892","id":179545624,"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":"2016-02-04T00:14:41Z","updated_at":"2016-02-04T00:14:41Z","body":"@cbargren @Mr-Wallet this might be of use to you guys."}}