make log -p print an extra newline after diff
diff --git a/got/got.c b/got/got.c
index d519a17..36ae90e 100644
--- a/got/got.c
+++ b/got/got.c
@@ -295,8 +295,11 @@ print_commit(struct got_commit_object *commit, struct got_object_id *id,
printf("Author: %s\n", commit->author);
printf("\n%s\n", commit->logmsg);
- if (show_patch)
+ if (show_patch) {
err = print_patch(commit, id, repo);
+ if (err == 0)
+ printf("\n");
+ }
free(buf);
return err;