Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree option not working #97

Open
felixwiemuth opened this issue Feb 4, 2019 · 3 comments
Open

Tree option not working #97

felixwiemuth opened this issue Feb 4, 2019 · 3 comments

Comments

@felixwiemuth
Copy link

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

@SebiTimeWaster
Copy link

Same for me.

@mdavis-xyz
Copy link

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?

@o0x2a
Copy link

o0x2a commented Mar 8, 2021

I had the same issue, anyone could find the way to get stat fo a specific directory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants