From a38a0f4b20fd36d8524c1b36cbc5c0188d2aa948 Mon Sep 17 00:00:00 2001 From: Petr Mladek Date: Mon, 11 Apr 2011 17:09:34 +0200 Subject: 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 --- bin/lo-commit-stat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/lo-commit-stat') 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/ 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"; } -- cgit v1.2.3