summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 551ce28)
raw | patch | inline | side by side (parent: 551ce28)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 21 Feb 2006 03:26:21 +0000 (19:26 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 21 Feb 2006 03:26:21 +0000 (19:26 -0800) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fmt-merge-msg.perl | patch | blob | history |
diff --git a/git-fmt-merge-msg.perl b/git-fmt-merge-msg.perl
index c34ddc5d5ec1b14ceb80fd699ad6b7c96e3f6b4c..3de67d779044ca0a9a511eded6929b3c33ddcd1f 100755 (executable)
--- a/git-fmt-merge-msg.perl
+++ b/git-fmt-merge-msg.perl
}
sub shortlog {
- my ($tip, $limit) = @_;
+ my ($tip) = @_;
my ($fh, @result);
- open $fh, '-|', ('git-log', "--max-count=$limit", '--topo-order',
+ open $fh, '-|', ('git-log', '--topo-order',
'--pretty=oneline', $tip, '^HEAD')
or die "$!";
while (<$fh>) {
for (@origin) {
my ($sha1, $name) = @$_;
- my @log = shortlog($sha1, $limit + 1);
+ my @log = shortlog($sha1);
if ($limit + 1 <= @log) {
print "\n* $name: (" . scalar(@log) . " commits)\n";
}