summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-04-11 17:09:34 +0200
committerPetr Mladek <pmladek@suse.cz>2011-04-26 20:17:55 +0200
commita38a0f4b20fd36d8524c1b36cbc5c0188d2aa948 (patch)
tree8667b5663a713031588e2f2f7dacf9e21a36ba8a /bin
parent33a840056580197ba5c2ea41b19251da3df2809b (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
Diffstat (limited to 'bin')
-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 9a1309739084..111127e94c2c 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -71,7 +71,7 @@ sub load_git_log($$$$$)
{
my ($pdata, $repo_dir, $piece, $branch_name, $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;
@@ -314,7 +314,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";
}