{"action":"created","issue":{"url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/25","repository_url":"https://api.github.com/repos/cdnjs/cdnjs-importer","labels_url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/25/comments","events_url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/25/events","html_url":"https://github.com/cdnjs/cdnjs-importer/issues/25","id":154627703,"number":25,"title":"Should not add unrelated files in commit.","user":{"login":"PeterDaveHello","id":3691490,"avatar_url":"https://avatars.githubusercontent.com/u/3691490?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDaveHello","html_url":"https://github.com/PeterDaveHello","followers_url":"https://api.github.com/users/PeterDaveHello/followers","following_url":"https://api.github.com/users/PeterDaveHello/following{/other_user}","gists_url":"https://api.github.com/users/PeterDaveHello/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDaveHello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDaveHello/subscriptions","organizations_url":"https://api.github.com/users/PeterDaveHello/orgs","repos_url":"https://api.github.com/users/PeterDaveHello/repos","events_url":"https://api.github.com/users/PeterDaveHello/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDaveHello/received_events","type":"User","site_admin":false},"labels":[{"id":190260191,"url":"https://api.github.com/repos/cdnjs/cdnjs-importer/labels/bug","name":"bug","color":"fc2929","default":true},{"id":190260194,"url":"https://api.github.com/repos/cdnjs/cdnjs-importer/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-05-13T03:39:42Z","updated_at":"2016-12-20T05:09:21Z","closed_at":null,"body":"I found that if there are some untracked files in the repo, cdnjs-importer will add them all with the commit, we should only add the files been fetched by the importer, not them all.\n"},"comment":{"url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/comments/268156377","html_url":"https://github.com/cdnjs/cdnjs-importer/issues/25#issuecomment-268156377","issue_url":"https://api.github.com/repos/cdnjs/cdnjs-importer/issues/25","id":268156377,"user":{"login":"petrgazarov","id":5581195,"avatar_url":"https://avatars.githubusercontent.com/u/5581195?v=3","gravatar_id":"","url":"https://api.github.com/users/petrgazarov","html_url":"https://github.com/petrgazarov","followers_url":"https://api.github.com/users/petrgazarov/followers","following_url":"https://api.github.com/users/petrgazarov/following{/other_user}","gists_url":"https://api.github.com/users/petrgazarov/gists{/gist_id}","starred_url":"https://api.github.com/users/petrgazarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrgazarov/subscriptions","organizations_url":"https://api.github.com/users/petrgazarov/orgs","repos_url":"https://api.github.com/users/petrgazarov/repos","events_url":"https://api.github.com/users/petrgazarov/events{/privacy}","received_events_url":"https://api.github.com/users/petrgazarov/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T05:09:21Z","updated_at":"2016-12-20T05:09:21Z","body":"This might be why: https://github.com/cdnjs/cdnjs-importer/blob/master/lib/index.js#L275\r\nMight be better to use something along the lines of\r\n```\r\nself.git.exec(OArgv({\r\n  _: package.name\r\n  , b: true\r\n}, \"add\"), cb)\r\n```"}}
{"actor":{"display_login":"petrgazarov"}}