Commit Diff
--- lib/diff.c +++ lib/diff.c @@ -577,7 +577,7 @@ got_diff_objects_as_commits(struct got_object *obj1, s err = got_error_from_errno(); goto done; } - if (fprintf(outfile, "\n%s\n", commit2->logmsg) < 0) { + if (fprintf(outfile, "%s\n", commit2->logmsg) < 0) { err = got_error_from_errno(); goto done; }