Website Summary Files Commits Branches @commit @diff @stats
path: root / Makefile
diff options
context:
space:
mode:
Commitf86a23ff537258d36bf8f1876fa7a4bede6673d8 (patch)
Author
 Lars Hjemli <hjemli@gmail.com>
2008-12-06 17:38:19 +0100
Committer
 Lars Hjemli <hjemli@gmail.com>
2008-12-06 17:38:19 +0100
Files8328d415416058cdc5b0fd2c6564ddcab5766c7a /Makefile
cgit-f86a23ff537258d36bf8f1876fa7a4bede6673d8.tar
cgit-f86a23ff537258d36bf8f1876fa7a4bede6673d8.tar.gz
cgit-f86a23ff537258d36bf8f1876fa7a4bede6673d8.zip
Parent140012d7a8e51df5a9f9c556696778b86ade4fc9 (diff)
Add a 'stats' page to each repo
This new page, which is disabled by default, can be used to print some statistics about the number of commits per period in the repository, where period can be either weeks, months, quarters or years. The function can be activated globally by setting 'enable-stats=1' in cgitrc and disabled for individual repos by setting 'repo.enable-stats=0'. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
1 files changed, 1 insertions, 0 deletions
-rw-r--r--Makefile1
diff --git a/Makefile b/Makefile
index 561af76..f426f98 100644
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,7 @@ OBJECTS += ui-refs.o
OBJECTS += ui-repolist.o
OBJECTS += ui-shared.o
OBJECTS += ui-snapshot.o
+OBJECTS += ui-stats.o
OBJECTS += ui-summary.o
OBJECTS += ui-tag.o
OBJECTS += ui-tree.o