]> gitweb.ps.run Git - ps-cgit/commit
ui-tree,ui-blame: bail from blame if blob is binary
authorJune McEnroe <june@causal.agency>
Wed, 18 Dec 2019 21:30:12 +0000 (21:30 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 19 Dec 2022 14:14:05 +0000 (15:14 +0100)
commitcc6d9cc7fc010db9be6c2d90fd054fb2d189d629
tree667023ef4d1976928d7055e441efc3afc789e375
parente10159691e799d0f31f5314c73f47511cc974f46
ui-tree,ui-blame: bail from blame if blob is binary

This avoids piping binary blobs through the source-filter. Also prevent
robots from crawling it, since it's expensive.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
robots.txt
ui-blame.c
ui-tree.c