diff options
Diffstat (limited to 'ui-tree.c')
| -rw-r--r-- | ui-tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -84,7 +84,7 @@ static void print_binary_buffer(char *buf, unsigned long size) | |||
| 84 | html("</table>\n"); | 84 | html("</table>\n"); |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | static void print_object(const struct object_id *oid, char *path, const char *basename, const char *rev) | 87 | static void print_object(const struct object_id *oid, const char *path, const char *basename, const char *rev) |
| 88 | { | 88 | { |
| 89 | enum object_type type; | 89 | enum object_type type; |
| 90 | char *buf; | 90 | char *buf; |
| @@ -279,7 +279,7 @@ static void ls_tail(void) | |||
| 279 | cgit_print_layout_end(); | 279 | cgit_print_layout_end(); |
| 280 | } | 280 | } |
| 281 | 281 | ||
| 282 | static void ls_tree(const struct object_id *oid, char *path, struct walk_tree_context *walk_tree_ctx) | 282 | static void ls_tree(const struct object_id *oid, const char *path, struct walk_tree_context *walk_tree_ctx) |
| 283 | { | 283 | { |
| 284 | struct tree *tree; | 284 | struct tree *tree; |
| 285 | struct pathspec paths = { | 285 | struct pathspec paths = { |
