summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2022-02-04 16:30:01 -0300
committerSoniEx2 <endermoneymod@gmail.com>2022-02-04 16:30:01 -0300
commit8e8bdb05190d87a20efe6153dcfd1ac748e088b7 (patch)
tree1f4821f4e0cb32c31fbfebd8460cfe3355f0e25b
parentc9c1f68908324099aea5359b1c0575cde0653d37 (diff)
Don't include file sizes in tree listings
-rwxr-xr-xgit-hooks/post-receive2
1 files changed, 1 insertions, 1 deletions
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("<li>")
                 f.write("<a href=\"./{}\">{}</a>".format(quoted, quoted))
-                f.write(" <span class=\"bytes\">{}</span>".format(obj.size))
+                #f.write(" <span class=\"bytes\">{}</span>".format(obj.size))
                 f.write("</li>")
             elif isinstance(obj, pygit2.Tree):
                 todotrees.add(obj)