projects
/
catagits/Gitalist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add mech testing in from the branch I previously made. 5 of the URIs which we test...
[catagits/Gitalist.git]
/
lib
/
Gitalist
/
Controller
/
Root.pm
diff --git
a/lib/Gitalist/Controller/Root.pm
b/lib/Gitalist/Controller/Root.pm
index
a846a77
..
4210ddc
100644
(file)
--- a/
lib/Gitalist/Controller/Root.pm
+++ b/
lib/Gitalist/Controller/Root.pm
@@
-34,7
+34,7
@@
sub base : Chained('/root') PathPart('') CaptureArgs(0) {
short_cmt => sub {
my $cmt = shift;
my($line) = split /\n/, $cmt;
- $line =~ s/^(.{70,80}\b).*/$1 \x{2026}/;
+ $line =~ s/^(.{70,80}\b).*/$1 \x{2026}/ if defined $line;
return $line;
},
abridged_description => sub {