aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mayo2019-05-26 17:57:01 +0100
committerYigit Sever2023-07-21 03:03:50 +0300
commit99a62a8104d38f815bb22b1d84b6a1b457c20383 (patch)
tree21af3625d5142c2bc69b3f724bd59c6cb64f0f59
parent817ca1131016360a68ee11358da03cfcb26505d1 (diff)
downloadcgit-99a62a8104d38f815bb22b1d84b6a1b457c20383.tar.gz
cgit-99a62a8104d38f815bb22b1d84b6a1b457c20383.tar.bz2
cgit-99a62a8104d38f815bb22b1d84b6a1b457c20383.zip
ui-commit: use git raw note format
Currently a commit note is shown as: Notes Notes: <note text> Change to: Notes <note text> Signed-off-by: Chris Mayo <aklhfex@gmail.com> Reviewed-by: Alyssa Ross <hi@alyssa.is> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--ui-commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-commit.c b/ui-commit.c
index 5e88544..0787237 100644
--- a/ui-commit.c
+++ b/ui-commit.c
@@ -39,7 +39,7 @@ void cgit_print_commit(char *hex, const char *prefix)
39 } 39 }
40 info = cgit_parse_commit(commit); 40 info = cgit_parse_commit(commit);
41 41
42 format_display_notes(&oid, &notes, PAGE_ENCODING, 0); 42 format_display_notes(&oid, &notes, PAGE_ENCODING, 1);
43 43
44 load_ref_decorations(NULL, DECORATE_FULL_REFS); 44 load_ref_decorations(NULL, DECORATE_FULL_REFS);
45 45