Kaydet (Commit) 5131f42e authored tarafından Petr Mladek's avatar Petr Mladek

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
üst 52d7f2fd
......@@ -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";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment