diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-03 17:18:21 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-03 17:18:21 -0700 |
commit | e33b1dfe2834ceca1c449ec653dea636ca2d0200 (patch) | |
tree | bfcef21ab182db7524419712a138d32deaf33fe8 /git-cvsserver.perl | |
parent | Merge branch 'js/repoconfig' into next (diff) | |
parent | Merge branch 'fix' (diff) | |
download | tgif-e33b1dfe2834ceca1c449ec653dea636ca2d0200.tar.xz |
Merge branch 'master' into next
* master:
fix various typos in documentation
blame: Fix path pruning
cvsserver: use git-rev-list instead of git-log
Fix "git-log --parents" breakage post v1.3.0
add documentation for update-index --unresolve
Diffstat (limited to 'git-cvsserver.perl')
-rwxr-xr-x | git-cvsserver.perl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/git-cvsserver.perl b/git-cvsserver.perl index 11d153c4cd..ffd9c66f94 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; |