Open jogc opened 3 years ago
I can confirm this as well
seems like every option has no effect on the output now
@kimmobrunfeldt There hasn't been an update since 1.5.0, so this is still a problem. https://www.npmjs.com/package/git-hours
Workaround:
npm r -g git-hours
npm i -g https://github.com/kimmobrunfeldt/git-hours
And the --since
argument works for me now.
(P.S. Instead of using sudo with npm -g
, set NPM_CONFIG_PREFIX
, in my case export NPM_CONFIG_PREFIX="$HOME/.local"
)
(P.P.S. Installation takes a long time, 15+ minutes, perhaps because my ipv6 isn't working)
Regardless if I put 0 or 1000 or nothing for first-commit-add it does not make any difference for the number of hours calculated.
It seems --max-commit-diff might have the same problem. Just installed git-hours with npm.