git_stats
git_stats copied to clipboard
Tree option not working
Running with -p
/ --tree
option to select a tree from the repository to generate statistics for has no effect, always the whole repository is considered.
The resulting HTML page even shows "." for "Tree path" in the overview.
Examples (executed at the root of a git repository):
git_stats generate -d mydir -o stats
git_stats generate -d mydir/ -o stats
git_stats generate -d ./mydir -o stats
git_stats generate -d ./mydir/ -o stats
git_stats generate -p . --tree ./mydir -o stats
I tried a lot of combinations of short/long option, how to specify the tree path etc.
I tried it with a repository with longer history and a small test repository with just two files (A
, mydir/B
).
Version: 1.0.17 (installed via gem install) OS: Arch Linux
Same for me.
What is tree
supposed to be?
I want to graph the stats for a particular subdirectory of my repo. Is that what this option is for?
I had the same issue, anyone could find the way to get stat fo a specific directory?