aboutsummaryrefslogtreecommitdiffstats
path: root/ui-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-tree.c')
-rw-r--r--ui-tree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui-tree.c b/ui-tree.c
index b61f6f5..fbaaa32 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -213,7 +213,7 @@ static int ls_item(const struct object_id *oid, struct strbuf *base,
213 if (!S_ISGITLINK(mode)) { 213 if (!S_ISGITLINK(mode)) {
214 type = oid_object_info(the_repository, oid, &size); 214 type = oid_object_info(the_repository, oid, &size);
215 if (type == OBJ_BAD) { 215 if (type == OBJ_BAD) {
216 htmlf("<tr><td colspan='3'>Bad object: %s %s</td></tr>", 216 htmlf("<tr><td colspan='3'>bad object: %s %s</td></tr>",
217 name, 217 name,
218 oid_to_hex(oid)); 218 oid_to_hex(oid));
219 free(name); 219 free(name);
@@ -264,9 +264,9 @@ static void ls_head(void)
264 cgit_print_layout_start(); 264 cgit_print_layout_start();
265 html("<table summary='tree listing' class='list'>\n"); 265 html("<table summary='tree listing' class='list'>\n");
266 html("<tr class='nohover'>"); 266 html("<tr class='nohover'>");
267 html("<th class='left'>Mode</th>"); 267 html("<th class='left'>mode</th>");
268 html("<th class='left'>Name</th>"); 268 html("<th class='left'>name</th>");
269 html("<th class='right'>Size</th>"); 269 html("<th class='right'>size</th>");
270 html("<th/>"); 270 html("<th/>");
271 html("</tr>\n"); 271 html("</tr>\n");
272} 272}