{"action":"created","issue":{"url":"https://api.github.com/repos/AlDanial/cloc/issues/131","repository_url":"https://api.github.com/repos/AlDanial/cloc","labels_url":"https://api.github.com/repos/AlDanial/cloc/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/AlDanial/cloc/issues/131/comments","events_url":"https://api.github.com/repos/AlDanial/cloc/issues/131/events","html_url":"https://github.com/AlDanial/cloc/issues/131","id":184358005,"number":131,"title":"Ignore git submodules when vcs=git ","user":{"login":"cirosantilli","id":1429315,"avatar_url":"https://avatars.githubusercontent.com/u/1429315?v=3","gravatar_id":"","url":"https://api.github.com/users/cirosantilli","html_url":"https://github.com/cirosantilli","followers_url":"https://api.github.com/users/cirosantilli/followers","following_url":"https://api.github.com/users/cirosantilli/following{/other_user}","gists_url":"https://api.github.com/users/cirosantilli/gists{/gist_id}","starred_url":"https://api.github.com/users/cirosantilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cirosantilli/subscriptions","organizations_url":"https://api.github.com/users/cirosantilli/orgs","repos_url":"https://api.github.com/users/cirosantilli/repos","events_url":"https://api.github.com/users/cirosantilli/events{/privacy}","received_events_url":"https://api.github.com/users/cirosantilli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-10-20T22:36:52Z","updated_at":"2016-11-04T22:18:20Z","closed_at":"2016-11-04T22:18:20Z","body":"Possibly a better default, or maybe another configuration...\n\n`git ls-files` includes them.\n\nThe best I have is:\n\n```\ngit ls-files | grep -Fxvf <(git submodule status | cut -d' ' -f3)\n```\n\nwith current workaround:\n\n```\ncloc --list-file=<(git ls-files | grep -Fxvf <(git submodule status | cut -d' ' -f3)) .\n```\n\nAlso: http://stackoverflow.com/questions/40165650/how-to-list-all-files-tracked-by-git-excluding-submodules\n"},"comment":{"url":"https://api.github.com/repos/AlDanial/cloc/issues/comments/258561558","html_url":"https://github.com/AlDanial/cloc/issues/131#issuecomment-258561558","issue_url":"https://api.github.com/repos/AlDanial/cloc/issues/131","id":258561558,"user":{"login":"AlDanial","id":1459933,"avatar_url":"https://avatars.githubusercontent.com/u/1459933?v=3","gravatar_id":"","url":"https://api.github.com/users/AlDanial","html_url":"https://github.com/AlDanial","followers_url":"https://api.github.com/users/AlDanial/followers","following_url":"https://api.github.com/users/AlDanial/following{/other_user}","gists_url":"https://api.github.com/users/AlDanial/gists{/gist_id}","starred_url":"https://api.github.com/users/AlDanial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlDanial/subscriptions","organizations_url":"https://api.github.com/users/AlDanial/orgs","repos_url":"https://api.github.com/users/AlDanial/repos","events_url":"https://api.github.com/users/AlDanial/events{/privacy}","received_events_url":"https://api.github.com/users/AlDanial/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T22:18:20Z","updated_at":"2016-11-04T22:18:20Z","body":"The fix is in the master branch."}}
{"actor":{"display_login":"AlDanial"}}