commit 6ede4e7aa51a4364ca5b52614fa38a281cc0e736 from: Stefan Sperling date: Mon Jun 11 00:20:38 2018 UTC fix check for author != committer in 'got log' commit - 7cd42a1a10a92fffd30370ad7e83a7d1610cf04c commit + 6ede4e7aa51a4364ca5b52614fa38a281cc0e736 blob - d9d771db4a881fee0cf4bd17c284c1096b45b494 blob + 82edaba5a56016cffbef109684b6812c1ee4c146 --- got/got.c +++ got/got.c @@ -334,7 +334,9 @@ print_commit(struct got_commit_object *commit, struct datestr = get_datestr(&commit->author_time, datebuf); printf("author: %s %s %s\n", commit->author, datestr, commit->author_tzoff); - if (strcmp(commit->author, commit->committer) != 0) { + if (strcmp(commit->author, commit->committer) != 0 || + commit->author_time != commit->committer_time || + strcmp(commit->author_tzoff, commit->committer_tzoff) != 0) { datestr = get_datestr(&commit->committer_time, datebuf); printf("committer: %s %s %s\n", commit->committer, datestr, commit->committer_tzoff);