summary refs log tree commit diff
path: root/www/git.causal.agency/cgit
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
commit6b2c5206094102109d694e6dd34cbc7ae6d1417b (patch)
treefcc21a5dda712ce53c862e17bc47f39b0b04b52b /www/git.causal.agency/cgit
parentTouch tags in source-filter (diff)
downloadsrc-6b2c5206094102109d694e6dd34cbc7ae6d1417b.tar.gz
src-6b2c5206094102109d694e6dd34cbc7ae6d1417b.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);