Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Tools by

Given a monorepo it's useful to have git-count-revs return only the revs affecting a particular folder.

Ie:

$ cd mymonorepo/service-a
$ git rev-list HEAD --count
1024 # all revs in monorepo
$ git rev-list HEAD --count -- .
17 # only count revs affecting service-a

1 Answer

+1 vote
by
selected by
 
Best answer

Good idea - added at 98d1632 for next release.

...