shithub: shithub

Download patch

ref: 5dfaaeae031cb1feb118a1121266d87f214af3b4
parent: 1de670f1a9763e518a7c9bdef1e190781f3864d9
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Nov 29 19:29:19 EST 2020

fix typos and missing rule

It's not a tub, it's a hub! Also, allow info without
the ref name, for prettier URLs.

--- a/gitrules
+++ b/gitrules
@@ -1,5 +1,5 @@
 /repos.html					/bin/shithub /usr/git list
-/([^'/]+)/info.html				/bin/shithub /usr/git info '\1' '\2' HEAD
+/([^'/]+)/([^'/]+)/info.html			/bin/shithub /usr/git info '\1' '\2' HEAD
 /([^'/]+)/([^'/]+)/([^'/]+)/info.html		/bin/shithub /usr/git info '\1' '\2' '\3'
 /([^'/]+)/([^'/]+)/([^'/]+)/snap.tar.gz		/bin/shithub /usr/git tar '\1' '\2' '\3'
 /([^'/]+)/([^'/]+)/([^'/]+)/(([^']+)/)?f.html	/bin/shithub /usr/git view '\1' '\2' '\3' '\5'
--- a/index.html
+++ b/index.html
@@ -30,7 +30,7 @@
 	<title>Shithub</title>
 </head>
 <body>
-<h1>Shitub</h1>
+<h1>Shithub</h1>
 <h2>The Scented Git Host</h2>
 
 <p>Shithub is a site for hosting git repositories. It's
@@ -43,7 +43,7 @@
 
 <p><a href="git/repos.html">Repo List</a></p>
 
-
+<p><a href="http://git.pmikkelsen.com">pmikkelsens mirror</a></p>
 
 <h2>Getting A Shithub Account</h2>