summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-06-30 09:46:03 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-06-30 09:46:03 -0400
commit96684de3c03828c8ad5c49b5c73d129a5313ec93 (patch)
tree880a19d96b443a18b6235b9931a0c9299895748a /git.c
parentaf1dc8eff5762cf09fda6b1cd75570814f095814 (diff)
Seperate each PR comment by one blank line in
`add_comment()`.
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index e640f83..d5b1661 100644
--- a/git.c
+++ b/git.c
@@ -220,7 +220,7 @@ int add_comment(comment *comment, const char *pr_root) {
j += sprintf(file_buf+j, "reply-date: ");
j += strftime(file_buf+j, -1, "%c %z\n", &tm);
}
- j += sprintf(file_buf+j, "description: %s", comment->desc);
+ j += sprintf(file_buf+j, "description: %s\n\n", comment->desc);
/* Append /comments to the PR root. */
sprintf(filename, "%s/comments", pr_root);