summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-04-11 17:09:34 +0200
committerPetr Mladek <pmladek@suse.cz>2011-04-11 17:09:34 +0200
commit5131f42eb7b55b7946906560e2509e4c9c963282 (patch)
tree005c970c1ef7ff5e76bee90c06adb825d5c8f02e
parent52d7f2fd880fdd5964403a3c9ca72738a0cca5ad (diff)
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
-rwxr-xr-xbin/lo-commit-stat4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 342d47ae5014..5cc772fa7f23 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";
}