aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2019-05-26 17:57:01 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2022-12-19 16:13:24 +0100
commite32f8416e87503aef2cd2698e15f3dc5e8c40d7e (patch)
tree7592a78a5e864876c7d6f70b73ca02f54c2f5b71
parentafffc3e772a7b0c9d729f330ef2c9900c4343b63 (diff)
downloadcgit-e32f8416e87503aef2cd2698e15f3dc5e8c40d7e.tar.gz
cgit-e32f8416e87503aef2cd2698e15f3dc5e8c40d7e.tar.bz2
cgit-e32f8416e87503aef2cd2698e15f3dc5e8c40d7e.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)
}
info = cgit_parse_commit(commit);
- format_display_notes(&oid, &notes, PAGE_ENCODING, 0);
+ format_display_notes(&oid, &notes, PAGE_ENCODING, 1);
load_ref_decorations(NULL, DECORATE_FULL_REFS);