Commit Diff


commit - 867c6645307b5631ada0e0449a5bc77f65a9c429
commit + ede67fd961d6b96051fba65c4207f52ae8f124b0
blob - 8fc337d544e52f440acacbbc75a073499ead13c7
blob + 2beea41cdbdaa48a259447b266ae99b811b68764
--- 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;
 	}