summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Langhoff <martin@catalyst.net.nz>2006-05-03 22:53:37 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-05-03 23:32:28 (GMT)
commit095acb8a2ac86c003d89886c5df7706c44912196 (patch)
tree71e19c8ae06aa8e9f91bb579d1c5f966f58776bc
parentc8c893c62b0d9997e7dfe7bd5f636ddbf29ef619 (diff)
downloadgit-095acb8a2ac86c003d89886c5df7706c44912196.zip
git-095acb8a2ac86c003d89886c5df7706c44912196.tar.gz
git-095acb8a2ac86c003d89886c5df7706c44912196.tar.bz2
cvsserver: use git-rev-list instead of git-log
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgit-cvsserver.perl5
1 files changed, 3 insertions, 2 deletions
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index 11d153c..ffd9c66 100755
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
@@ -2076,14 +2076,15 @@ sub update
# TODO: log processing is memory bound
# if we can parse into a 2nd file that is in reverse order
# we can probably do something really efficient
- my @git_log_params = ('--parents', '--topo-order');
+ my @git_log_params = ('--pretty', '--parents', '--topo-order');
if (defined $lastcommit) {
push @git_log_params, "$lastcommit..$self->{module}";
} else {
push @git_log_params, $self->{module};
}
- open(GITLOG, '-|', 'git-log', @git_log_params) or die "Cannot call git-log: $!";
+ # git-rev-list is the backend / plumbing version of git-log
+ open(GITLOG, '-|', 'git-rev-list', @git_log_params) or die "Cannot call git-rev-list: $!";
my @commits;