diff options
author | Petr Mladek <pmladek@suse.cz> | 2011-04-11 17:09:34 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-04-26 20:17:55 +0200 |
commit | a38a0f4b20fd36d8524c1b36cbc5c0188d2aa948 (patch) | |
tree | 8667b5663a713031588e2f2f7dacf9e21a36ba8a /bin/lo-commit-stat | |
parent | lo-commit-stat: detect mismatch of branches between repos (diff) | |
download | core-a38a0f4b20fd36d8524c1b36cbc5c0188d2aa948.tar.gz core-a38a0f4b20fd36d8524c1b36cbc5c0188d2aa948.zip |
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/lo-commit-stat')
-rwxr-xr-x | bin/lo-commit-stat | 4 |
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"; } |