diff options
Diffstat (limited to 'source/ui-plain.c')
-rw-r--r--source/ui-plain.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/ui-plain.c b/source/ui-plain.c
index 6d02051..2463cfc 100644
--- a/source/ui-plain.c
+++ b/source/ui-plain.c
@@ -234,7 +234,7 @@ void cgit_print_plain(void)
if (!path_items.match) {
// The walk is never handed an entry for the top of the tree
// itself, so the listing it would have opened is opened here.
- path_items.match = "";
+ paths.nr = 0;
walk.dir_len = -1;
print_dir("", 0, "");
walk.response = RESPONSE_LISTING;