git-quick-stats
git-quick-stats copied to clipboard
[Feature Request] Filter stats to specific subdirectory
For large repos it would be nice to be able to get stats for a particular subdirectory, instead of the repo as a whole.
Hi @xTdub, Have you try to use the pathspec definition?
eg.
include specific directory: export _GIT_PATHSPEC=':directoryname*' && git-quick-stats
I tried using pathspec as you suggested, however the behavior isn't what I would expect. Filtered to my directory of interest, generating "Contribution stats (by author)" gives me an empty list. However, the "My daily status" options appears to work correctly, and the list "Git commits per author" shows me stats for the entire repo.