shithub: shithub

Download patch

ref: 734f289a2795aac3441810ae49a731c8c347fb42
parent: b22c628c2098e048667ff360752b471f6540d4cd
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Jan 31 22:56:10 EST 2021

diffs: add leading space in context area

--- a/shithub
+++ b/shithub
@@ -85,7 +85,7 @@
 	/^@@ .*$/ { if(started) printf "<pre id='sep'>%s</pre>\n", $0; next }
 	/^\+.*$/ { if(started) printf "<pre id='add'>%s</pre>\n", $0; next }
 	/^-.*$/ { if(started) printf "<pre id='del'>%s</pre>\n", $0; next }
-	{ if(started) { printf "<pre id=ctx>%s</pre>\n", substr($0, 2); } }
+	{ if(started) { printf "<pre id=ctx> %s</pre>\n", substr($0, 2); } }
 	'
 }