Commit e32f8416e87503aef2cd2698e15f3dc5e8c40d7e

Parents: afffc3e772a7b0c9d729f330ef2c9900c4343b63

From: Chris Mayo <aklhfex@gmail.com>
Date: Sun May 26 17:57:01 2019 +0700

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>

Stats

ui-commit.c +1/-1

Changeset

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/ui-commit.c b/ui-commit.c
index 5e885444c15a55af7634940abf88856dda2f3527..078723756a6197051d8dffa3bab8d19b85a6e8f7 100644
--- a/ui-commit.c
+++ b/ui-commit.c
@@ -39,7 +39,7 @@ 		return;
 	}
 	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);