about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2019-05-26 17:57:01 +0100
committerJune McEnroe <june@causal.agency>2022-02-13 11:53:33 -0500
commit298f7d15f83fde9b85ec0235e5021558243eb705 (patch)
tree25008327bdf90e9e413ac1dda83996eed514059a
parentAdd "this commit" option to switch form (diff)
downloadcgit-pink-298f7d15f83fde9b85ec0235e5021558243eb705.tar.gz
cgit-pink-298f7d15f83fde9b85ec0235e5021558243eb705.zip
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 at gmail.com>
Diffstat (limited to '')
-rw-r--r--ui-commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-commit.c b/ui-commit.c
index 7e6b5a0..7d87c0a 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);