shithub: shithub

Download patch

ref: 302eefbc15cbb83f9be9f53419f1d0b0c8e1a341
parent: 69f6d2023321895f382e1670ac3874f19c8cfb30
author: phil9 <[email protected]>
date: Sun Jan 31 10:45:22 EST 2021

log page: add link to next commits

--- a/shithub
+++ b/shithub
@@ -406,8 +406,10 @@
 	cd /mnt/git/$ref/tree
 	echo '	<p>'
 	shortlog $ref 100
-	echo '	</p>
-		</body>
+	echo '	</p>'
+	if(! ~ $"commithash '')
+		echo '<a href="/git/'$gituser/$repo/$commithash'/log.html">Next</a>'
+	echo '	</body>
 		</html>'
 
 case 'show'