diff options
author | Chris Mayo <aklhfex@gmail.com> | 2019-05-26 16:57:01 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-12-19 15:13:24 +0000 |
commit | e32f8416e87503aef2cd2698e15f3dc5e8c40d7e (patch) | |
tree | 7592a78a5e864876c7d6f70b73ca02f54c2f5b71 | |
parent | afffc3e772a7b0c9d729f330ef2c9900c4343b63 (diff) | |
download | cgit-e32f8416e87503aef2cd2698e15f3dc5e8c40d7e.tar cgit-e32f8416e87503aef2cd2698e15f3dc5e8c40d7e.tar.gz 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.c | 2 |
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, ¬es, PAGE_ENCODING, 0); + format_display_notes(&oid, ¬es, PAGE_ENCODING, 1); load_ref_decorations(NULL, DECORATE_FULL_REFS); |