From 8e8bdb05190d87a20efe6153dcfd1ac748e088b7 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Fri, 4 Feb 2022 16:30:01 -0300 Subject: Don't include file sizes in tree listings --- git-hooks/post-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-hooks/post-receive b/git-hooks/post-receive index 4871122..2b14572 100755 --- a/git-hooks/post-receive +++ b/git-hooks/post-receive @@ -290,7 +290,7 @@ while todotrees: # FIXME html-escape f.write("
  • ") f.write("{}".format(quoted, quoted)) - f.write(" {}".format(obj.size)) + #f.write(" {}".format(obj.size)) f.write("
  • ") elif isinstance(obj, pygit2.Tree): todotrees.add(obj) -- cgit 1.4.1