commit f3d135e1a7b128a08779821373b391fa04493ad5 from: Stefan Sperling date: Sun Apr 01 21:10:38 2018 UTC make 'got log' show the committer if different from author commit - 92088384cf9225cf40ca024b6ec669222b785347 commit + f3d135e1a7b128a08779821373b391fa04493ad5 blob - 952e0f2d698e92f959a7780c9dbfd3927cc50b23 blob + 235c72508bacc1437ea6891c01e5b4a715042102 --- got/got.c +++ got/got.c @@ -315,6 +315,8 @@ print_commit(struct got_commit_object *commit, struct printf("-----------------------------------------------\n"); printf("commit: %s\n", buf); printf("Author: %s\n", commit->author); + if (strcmp(commit->author, commit->committer) != 0) + printf("Committer: %s\n", commit->committer); printf("\n%s\n", commit->logmsg); if (show_patch) {