---
ChangeLog | 4 ++++
lrde-scmstats.sh | 10 +++++-----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b84677b..1a7d31f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2011-11-23 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * lrde-scmstats.sh: Compute stats per branches.
+
+2011-11-23 Guillaume Lazzara <z(a)lrde.epita.fr>
+
* lrde-upload.sh: Update list of branches.
2011-10-06 Roland Levillain <roland(a)lrde.epita.fr>
diff --git a/lrde-scmstats.sh b/lrde-scmstats.sh
index 0c84c4c..4919f80 100755
--- a/lrde-scmstats.sh
+++ b/lrde-scmstats.sh
@@ -27,14 +27,14 @@ branch=$1
# We might want to filter stats for specific branches.
# Currently gitstats does not allow that.
-#case "$branch" in
+case "$branch" in
# # Consider these branches only.
-# master|next|swilena|mesh-segm-skel|next-build-test) ;;
+ master|next|swilena|mesh-segm-skel|stable/scribo|unstable/scribo) ;;
# # Don't upload other branches.
-# *) exit ;;
-#esac
+ *) exit ;;
+esac
DEST=/lrde/dload/olena/stats/
-gitstats . $DEST
+gitstats -c commit_end=$branch . $DEST/$branch
--
1.7.2.5
Show replies by date