@matheusbsbs / matheus-bagliano / commits / a94df759cb
Fork 0

git-topic updates.

Junio C Hamano committed Dec 14, 2006 at 03:06 UTC a94df759cb775a9f9ec98e8e2a1dfd206af1079d
1 file changed +8 -1
git-topic.perl
+8 -1
@@ -121,7 +121,14 @@ while (<TOPIC>) {
121 }
122
123 print '*' . rebase_marker($sha1, $stage[0], \@in_next);
124 - print " $topic ($date)\n";
124 + my $count = "";
125 + if (1 < @revs) {
126 + $count = " " . (scalar @revs) . " commits";
127 + }
128 + elsif (@revs) {
129 + $count = " 1 commit";
130 + }
131 + print " $topic ($date)$count\n";
132 describe_topic($topic);
133 for my $item (@revs) {
134 my $mark = $item->[2];