summary refs log tree commit diff
path: root/www
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2019-05-26 17:57:01 +0100
committerJune McEnroe <june@causal.agency>2021-01-17 19:06:45 +0000
commit9c206e362bf7e7fa2c83b01e138221533c63f01b (patch)
treef12a2eae6456e54be6a1f0a9a4c6a645b0784ebb /www
parentTouch tags in source-filter (diff)
downloadsrc-9c206e362bf7e7fa2c83b01e138221533c63f01b.tar.gz
src-9c206e362bf7e7fa2c83b01e138221533c63f01b.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--www/git.causal.agency/cgit/ui-commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/git.causal.agency/cgit/ui-commit.c b/www/git.causal.agency/cgit/ui-commit.c
index 7e6b5a06..7d87c0a3 100644
--- a/www/git.causal.agency/cgit/ui-commit.c
+++ b/www/git.causal.agency/cgit/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);