commit 971751acb8de104ac2f61c202957aeb727ef85fb from: Stefan Sperling date: Tue Mar 27 21:20:50 2018 UTC make log -p print an extra newline after diff commit - 84eb021e71ff88a3af0ffd18cae9160f69df6956 commit + 971751acb8de104ac2f61c202957aeb727ef85fb blob - d519a175ce949911b9ac093255d03ff3b11d2c38 blob + 36ae90e5a6f90ffc984712052819972a866bb5c7 --- got/got.c +++ got/got.c @@ -295,8 +295,11 @@ print_commit(struct got_commit_object *commit, struct 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;