about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ui-shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c index 968933f..d4fb3d9 100644 --- a/ui-shared.c +++ b/ui-shared.c
@@ -523,6 +523,7 @@ void cgit_submodule_link(const char *class, char *path, const char *rev)
523 char tail, *dir; 523 char tail, *dir;
524 size_t len; 524 size_t len;
525 525
526 len = 0;
526 tail = 0; 527 tail = 0;
527 list = &ctx.repo->submodules; 528 list = &ctx.repo->submodules;
528 item = lookup_path(list, path); 529 item = lookup_path(list, path);