make 'got log' show the committer if different from author
diff --git a/got/got.c b/got/got.c
index 952e0f2..235c725 100644
--- a/got/got.c
+++ b/got/got.c
@@ -315,6 +315,8 @@ print_commit(struct got_commit_object *commit, struct got_object_id *id,
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) {