[Libreoffice-commits] .: scratch/cia

Jan Holesovsky kendy at kemper.freedesktop.org
Thu Dec 16 09:43:07 PST 2010


 scratch/cia/run-libreoffice-ciabot.pl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 819b4b878a7c078a1692bcca86266e089fa2bc9d
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Thu Dec 16 18:40:13 2010 +0100

    ciabot: Show just 1 commit when pushing a new branch.

diff --git a/scratch/cia/run-libreoffice-ciabot.pl b/scratch/cia/run-libreoffice-ciabot.pl
index 2029520..53cba12 100644
--- a/scratch/cia/run-libreoffice-ciabot.pl
+++ b/scratch/cia/run-libreoffice-ciabot.pl
@@ -74,8 +74,8 @@ sub report($$$) {
             }
         }
         else {
-            # Report every commit which is not in master
-            if ( open COMMITS, "git rev-list $new_head ^refs/remotes/origin/master | tac |" ) {
+            # Report the newest commit which is not in master
+            if ( open COMMITS, "git rev-list -n 1 $new_head ^refs/remotes/origin/master |" ) {
                 while ( <COMMITS> ) {
                     chomp;
                     print "Sending report about $_ in $key (newly created branch)\n";


More information about the Libreoffice-commits mailing list