X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2F_chroma_hash.tt2;h=d7a0bb7e463302cd977b76530936545ddd747c42;hb=6bd8b34b50282009bd1331719c0e106f0324f5de;hp=1982f0cfb2161beb7ca792a28d3b519b1f10b704;hpb=7a88ffa48c039c20be74af971627a94118afb0ef;p=catagits%2FGitalist.git diff --git a/root/_chroma_hash.tt2 b/root/_chroma_hash.tt2 index 1982f0c..d7a0bb7 100644 --- a/root/_chroma_hash.tt2 +++ b/root/_chroma_hash.tt2 @@ -1,4 +1,9 @@ -[% sha1 = sha1 || HEAD %] -
-     -
+[%- sha1 = sha1 || HEAD -%] +[%- + hptr = 0; + WHILE hptr < sha1.length - 6; + sha1part = sha1.substr(hptr, 6); + "" _ sha1part _ ""; + hptr = hptr + 6; + END; +-%]