summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c8c893c)
raw | patch | inline | side by side (parent: c8c893c)
author | Martin Langhoff <martin@catalyst.net.nz> | |
Wed, 3 May 2006 22:53:37 +0000 (10:53 +1200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 3 May 2006 23:32:28 +0000 (16:32 -0700) |
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsserver.perl | patch | blob | history |
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index 11d153c4cdb9880a37610b5a392abe079ff0e07c..ffd9c66f940d6454d077e2b0082f5afd360d901e 100755 (executable)
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
# 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;