List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH] ui-commit: use Git raw note format
@ 2019-05-26 16:57 aklhfex
  2020-07-17 23:38 ` Alyssa Ross
  0 siblings, 1 reply; 4+ messages in thread
From: aklhfex @ 2019-05-26 16:57 UTC (permalink / raw)


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>
---
 ui-commit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-commit.c b/ui-commit.c
index 9a47b54..52b4c2a 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);
 
-- 
2.21.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-19 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-26 16:57 [PATCH] ui-commit: use Git raw note format aklhfex
2020-07-17 23:38 ` Alyssa Ross
2022-12-19 14:28   ` Jason A. Donenfeld
2022-12-19 14:35     ` Alyssa Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).