diff options
Diffstat (limited to 'ui-tree.c')
| -rw-r--r-- | ui-tree.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -382,13 +382,10 @@ void cgit_print_tree(const char *rev, char *path) repo_get_commit_tree(the_repository, commit), "", 0, 0, &paths, walk_tree, &walk_tree_ctx); - const char *readme_path = "readme.md"; // TODO: add more readme options if (walk_tree_ctx.state == 1) { - ls_tail(readme_path); + ls_tail(NULL); } else if (walk_tree_ctx.state == 2) { - if (readme_path) - cgit_print_repo_readme_no_layout(readme_path); cgit_print_layout_end(); } else { |
