git.shiar.nl
/
barcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
skip recalculation of unprogressed data
[barcat.git]
/
graph
diff --git
a/graph
b/graph
index e76ec645492b138a49ddfb11a52f1adf2e4b2088..c4ebd20449a02f99205d59cc5968fe7327d83e36 100755
(executable)
--- a/
graph
+++ b/
graph
@@
-53,13
+53,13
@@
while (readline) {
}
push @lines, $_;
}
-@lines or exit;
$SIG{INT} = 'DEFAULT';
sub show_lines {
state $nr = 0;
+@lines and @lines > $nr or return;
my @order = sort { $b <=> $a } grep { length } @values;
my $maxval = $order[0];