Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
counsel.el: counsel--git-grep-count-func-default submodule support #1558
(counsel--git-grep-count-func-default): Ask Git where the .git directory
Modern Git puts all the git directories for submodules underneath the top
counsel--git-grep-count-func-default runs "du -s .git 2>/dev/null" which is
So, let's ask Git to tell us where the real .git directory is and calculate
I think @abo-abo has been busy / on holiday / AFK for the past week or two, otherwise I'm sure this would have been merged. Thanks for being patient.
I wouldn't call it an "improved version" so much as a larger refactor of how Counsel invokes subprocesses, so don't hold your breath. :) It's on my todo list, but it'll take a bit of design first, so I don't expect to have anything ready before the end of the month.