diff options
-rw-r--r-- | lib/PublicInbox/Repo.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/Repo.pm b/lib/PublicInbox/Repo.pm index e53d6975..ceebe5c4 100644 --- a/lib/PublicInbox/Repo.pm +++ b/lib/PublicInbox/Repo.pm @@ -17,6 +17,8 @@ sub description { my ($self) = @_; my $desc = $self->{description}; return $desc if defined $desc; + return unless $self->{vcs} eq 'git'; # TODO + $desc = PublicInbox::Config::try_cat("$self->{path}/description"); local $/ = "\n"; chomp $desc; |