[Libreoffice-commits] .: bin/analyse-commits

Michael Meeks mmeeks at kemper.freedesktop.org
Mon Oct 18 04:11:29 PDT 2010


 bin/analyse-commits |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

New commits:
commit 594034b89e7beaa2042f03352e136132adbdd376
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Mon Oct 18 12:07:11 2010 +0100

    add new helper

diff --git a/bin/analyse-commits b/bin/analyse-commits
new file mode 100755
index 0000000..a748840
--- /dev/null
+++ b/bin/analyse-commits
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+names=false
+if test "z$1" = "z--names"; then
+   names=true
+fi
+
+format="%an: %s%n"
+uniq=''
+if test "$names" = true; then
+   format="%an%n"
+   uniq='-c'
+fi
+
+tmp=`mktemp`
+start='2010-09-28'
+
+git log --after=$start --pretty=format:"$format" 2>&1 > $tmp
+for i in clone/*; do (cd $i && git log --after=$start --pretty=format:"$format" 2>/dev/null); done > $tmp
+
+eval sort $tmp | uniq $uniq | sort -n | nl
+echo "$tmp"
+rm -f $tmp


More information about the Libreoffice-commits mailing list