[Libreoffice-commits] .: Branch 'libreoffice-3-4' - bin/lo-commit-stat

Petr Mladek pmladek at kemper.freedesktop.org
Mon Apr 11 08:12:04 PDT 2011


 bin/lo-commit-stat |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2f3d5dd0245244872a9e3f06df2f49c651f54211
Author: Petr Mladek <pmladek at suse.cz>
Date:   Mon Apr 11 17:09:34 2011 +0200

    lo-commit-stat: allow to list commits between branches
    
    use "git rev-list --pretty=medium" instead of "git log"
    to be able to use origin/libreoffice-3-4 ^origin/libreoffice-3-3
    to generate list of changes that are in 3.4 but not in 3.3

diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 342d47a..5cc772f 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -71,7 +71,7 @@ sub load_git_log($$$$)
 {
     my ($pdata, $repo_dir, $piece, $pgit_args) = @_;
 
-    my $cmd = "cd $repo_dir && git log " . join ' ', @{$pgit_args};
+    my $cmd = "cd $repo_dir && git rev-list --pretty=medium " . join ' ', @{$pgit_args};
     my $commit_id;
     my $summary;
 
@@ -312,7 +312,7 @@ sub usage()
           "                     must be cloned in the main-repo-root/clone/<piece> subdirectories\n" .
           "      git_log_param  extra parameters passed to the git log command to define\n" .
           "                     the area of interest , e.g. --after=\"2010-09-27\" or\n" .
-          "                     TAG..HEAD";
+          "                     TAG..HEAD or origin/master ^origin/libreoffice-3-3";
 }
 
 


More information about the Libreoffice-commits mailing list