diff options
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -182,11 +182,10 @@ int create_info_file(pull_request *pr, const char *pr_root) { int get_comment_len(comment *comment) { struct tm tm; - int len = format_len("title: %s\n", comment->title); + int len = format_len("id: %i\n", comment->id); localtime_r(&comment->date, &tm); - len = format_len("id: %i\n", comment->id); len += format_len("author: %s\n", comment->author); len += format_len("date: ") + strftime(NULL, -1, "%a %b %e %H:%M:%S %Y %z\n", &tm); |