diff options
author | Eric Wong <e@80x24.org> | 2017-02-16 20:39:08 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-02-16 20:39:28 +0000 |
commit | f99f1c9f53c9d746f7223b457e386dbb20b57c07 (patch) | |
tree | cb79ff1fb849690a7f23b9df84c420b9813722fe /lib/PublicInbox/Repo.pm | |
parent | f6244586ba4f5a5e7575e1254be8c9bbe303fce9 (diff) | |
download | public-inbox-f99f1c9f53c9d746f7223b457e386dbb20b57c07.tar.gz |
Other VCSes have other means of providing the description.
Diffstat (limited to 'lib/PublicInbox/Repo.pm')
-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; |