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>
-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);
 
f='/src/commit/txt/books.txt?id=013264d92bc84a8a2a133d9b55b6820fcad44806&follow=1'>Add The Girl Who Was Convinced...June McEnroe 2024-06-09Add photos from May 31June McEnroe 2024-06-09Use monospace on photo pagesJune McEnroe 2024-06-09Put lens and (future) film at the tops of photo pagesJune McEnroe 2024-05-22Remove use of sysexits.hJune McEnroe 2024-05-22Add photo descriptions from 05-03 and 05-06June McEnroe 2024-05-21Fix = precedence in whenJune McEnroe