about summary refs log tree commit homepage
path: root/lib/PublicInbox/Inbox.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-20 08:01:34 +0000
committerEric Wong <e@80x24.org>2022-08-20 18:30:57 +0000
commit038d977cc25177759537a89ca078701f14d3ace0 (patch)
treebcbd6964fe3b17c471b3be444b5df7f94cb67a18 /lib/PublicInbox/Inbox.pm
parent63cafb59760fdb73a15c22210c59fe0f13d79e88 (diff)
downloadpublic-inbox-038d977cc25177759537a89ca078701f14d3ace0.tar.gz
Showing "../../foo.git" looks awkward and isn't conducive to
users who want to "git clone" a URL.
Diffstat (limited to 'lib/PublicInbox/Inbox.pm')
-rw-r--r--lib/PublicInbox/Inbox.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm
index 1f7f982d..acd7f338 100644
--- a/lib/PublicInbox/Inbox.pm
+++ b/lib/PublicInbox/Inbox.pm
@@ -431,4 +431,6 @@ sub mailboxid { # rfc 8474, 8620, 8621
                 sprintf('-%x', uidvalidity($self) // 0)
 }
 
+sub thing_type { 'public inbox' }
+
 1;