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
Running with
-p/--treeoption 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 statsgit_stats generate -d mydir/ -o statsgit_stats generate -d ./mydir -o statsgit_stats generate -d ./mydir/ -o statsgit_stats generate -p . --tree ./mydir -o statsI 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