{"action":"created","issue":{"url":"https://api.github.com/repos/abo-abo/swiper/issues/1558","repository_url":"https://api.github.com/repos/abo-abo/swiper","labels_url":"https://api.github.com/repos/abo-abo/swiper/issues/1558/labels{/name}","comments_url":"https://api.github.com/repos/abo-abo/swiper/issues/1558/comments","events_url":"https://api.github.com/repos/abo-abo/swiper/issues/1558/events","html_url":"https://github.com/abo-abo/swiper/pull/1558","id":320543041,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg2MTc2OTQw","number":1558,"title":"counsel.el: counsel--git-grep-count-func-default submodule support","user":{"login":"mikecrowe","id":93615,"node_id":"MDQ6VXNlcjkzNjE1","avatar_url":"https://avatars1.githubusercontent.com/u/93615?v=4","gravatar_id":"","url":"https://api.github.com/users/mikecrowe","html_url":"https://github.com/mikecrowe","followers_url":"https://api.github.com/users/mikecrowe/followers","following_url":"https://api.github.com/users/mikecrowe/following{/other_user}","gists_url":"https://api.github.com/users/mikecrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/mikecrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikecrowe/subscriptions","organizations_url":"https://api.github.com/users/mikecrowe/orgs","repos_url":"https://api.github.com/users/mikecrowe/repos","events_url":"https://api.github.com/users/mikecrowe/events{/privacy}","received_events_url":"https://api.github.com/users/mikecrowe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-05T21:35:46Z","updated_at":"2018-06-05T12:56:16Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/abo-abo/swiper/pulls/1558","html_url":"https://github.com/abo-abo/swiper/pull/1558","diff_url":"https://github.com/abo-abo/swiper/pull/1558.diff","patch_url":"https://github.com/abo-abo/swiper/pull/1558.patch"},"body":"(counsel--git-grep-count-func-default): Ask Git where the .git directory\r\nis for the repository in the current directory.\r\n\r\nModern Git puts all the git directories for submodules underneath the top\r\nlevel `.git` directory and then leaves a \"git-file\" in the submodule which\r\npoints back to the repository inside the top-level .git directory. This\r\nmeans, that within a submodule, the `.git` file contains something like:\r\n\r\n gitdir: ../../.git/modules/submodule-repo-name\r\n\r\ncounsel--git-grep-count-func-default runs \"du -s .git 2>/dev/null\" which is\r\nbound to give a very small answer for just this small file.\r\n\r\nSo, let's ask Git to tell us where the real .git directory is and calculate\r\nthe size of that."},"comment":{"url":"https://api.github.com/repos/abo-abo/swiper/issues/comments/394698550","html_url":"https://github.com/abo-abo/swiper/pull/1558#issuecomment-394698550","issue_url":"https://api.github.com/repos/abo-abo/swiper/issues/1558","id":394698550,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDY5ODU1MA==","user":{"login":"mikecrowe","id":93615,"node_id":"MDQ6VXNlcjkzNjE1","avatar_url":"https://avatars1.githubusercontent.com/u/93615?v=4","gravatar_id":"","url":"https://api.github.com/users/mikecrowe","html_url":"https://github.com/mikecrowe","followers_url":"https://api.github.com/users/mikecrowe/followers","following_url":"https://api.github.com/users/mikecrowe/following{/other_user}","gists_url":"https://api.github.com/users/mikecrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/mikecrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikecrowe/subscriptions","organizations_url":"https://api.github.com/users/mikecrowe/orgs","repos_url":"https://api.github.com/users/mikecrowe/repos","events_url":"https://api.github.com/users/mikecrowe/events{/privacy}","received_events_url":"https://api.github.com/users/mikecrowe/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T12:56:16Z","updated_at":"2018-06-05T12:56:16Z","author_association":"NONE","body":"Is there any chance of merging my fix for this whilst we wait for @basil-conto's improved version? It's a pain having to patch this every time I upgrade. I've updated the commit to quote the argument and use `$()` rather than backticks as suggested by @basil-conto.\r\n\r\nThanks.\r\n\r\nMike."}}
{"actor":{"display_login":"mikecrowe"}}