{% block tree_listing_item(const struct object_id *oid, struct strbuf *base, const char *pathname, unsigned mode, bool border_above) %} {# Directory listing entry #} {! unsigned long size = 0; if (!S_ISGITLINK(mode)) { oid_object_info(the_repository, oid, &size); } struct strbuf fullpath = STRBUF_INIT; strbuf_addf(&fullpath, "%s%s", base->buf, pathname); !}