Skip to content

Commit 6fc4242

Browse files
committed
Add recipe to calculate additions per year
1 parent ae443c6 commit 6fc4242

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tools/make/lib/stats/git.mk

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,17 @@ stats-additions-per-weekday:
5858
.PHONY: stats-additions-per-weekday
5959

6060

61+
# Compute additions per year.
62+
#
63+
# This target computes the number of additions committed per year.
64+
65+
stats-additions-per-year:
66+
$(QUIET) $(MAKE_EXECUTABLE) $(GIT_SCRIPTS_DIR)/additions_per_year
67+
$(QUIET) $(GIT_SCRIPTS_DIR)/additions_per_year
68+
69+
.PHONY: stats-additions-per-year
70+
71+
6172
# Compute author additions per day.
6273
#
6374
# This target computes the number of additions committed per day per author.

0 commit comments

Comments
 (0)