shithub: gitonline

Download patch

ref: 8d7a7a54eea2a8a1e7205c4b23efb99f5150c356
parent: 338a7273ed225136c80055da12b10c1d2b22660c
author: glenda <glenda@9front.local>
date: Sun Nov 29 16:23:21 EST 2020

Fix filetree browsing

--- a/gitonline.rc
+++ b/gitonline.rc
@@ -156,7 +156,7 @@
 			files=`$nl{ls -F | sed 's/\*//g'}
 			echo '<pre>'
 			for (f in $files) {
-				echo '<a href="/'$repo'/browse/'$gitref'/'$f'">'$f'</a>'
+				echo '<a href="/'$repo'/browse/'$gitref$filepath$f'">'$f'</a>'
 			}
 			echo '</pre>'
 		}