X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/fb3655df3bf85bd405c5921bbd4b3a54c705c839..334aed8ab42b9513af0f4458081abc033d66c535:/ui-log.c diff --git a/ui-log.c b/ui-log.c index 93af0ce..6f1249b 100644 --- a/ui-log.c +++ b/ui-log.c @@ -61,6 +61,7 @@ void show_commit_decorations(struct commit *commit) buf[sizeof(buf) - 1] = 0; deco = lookup_decoration(&name_decoration, &commit->object); + html(""); while (deco) { if (!prefixcmp(deco->name, "refs/heads/")) { strncpy(buf, deco->name + 11, sizeof(buf) - 1); @@ -94,6 +95,7 @@ void show_commit_decorations(struct commit *commit) next: deco = deco->next; } + html(""); } static void print_commit(struct commit *commit, struct rev_info *revs) @@ -403,7 +405,6 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern commit->parents = NULL; } - init_display_notes(NULL); for (i = 0; i < cnt && (commit = get_revision(&rev)) != NULL; i++) { print_commit(commit, &rev); free(commit->buffer);