ejwa / gitinspector

:bar_chart: The statistical analysis tool for git repositories
GNU General Public License v3.0
2.37k stars 328 forks source link

Similar to --exclude, add an --include option #205

Closed danieldietsch closed 4 years ago

danieldietsch commented 4 years ago

It would be nice if one could specify which paths to include in stat generation, and simply exclude everything else.

adam-waldenberg commented 4 years ago

Already available via regular expressions. See https://github.com/ejwa/gitinspector/wiki/Documentation#filtering

danieldietsch commented 4 years ago

So you mean if I only wanted to include things from projectname/ I would add -x "file:^(projectname/)" as flag?