Skip to content

Tree option not working #97

Description

@felixwiemuth

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions