github / git-sizer

Compute various size metrics for a Git repository, flagging those that might cause problems
MIT License
3.48k stars 139 forks source link

Add some more reference selection options #81

Closed mhagger closed 3 years ago

mhagger commented 3 years ago

Add some more reference selection options. The same functionality could be achieved using the existing options, but it's more convenient to have these dedicated options as shorthand:

Add tests to cover the new options, driven by a grid of expected results.

/cc @chrisd8088 or @larsxschneider as possible reviewers.

mhagger commented 3 years ago

I forgot to mention: this fixes #77.

mhagger commented 3 years ago

I just rebased this branch to master, without any code changes. There was a minor textual conflict in the usage string.

/cc @ttaylorr as a possible reviewer.