You could omit them by comparing "author" and "committer". When the squash and commit option is used these are different. 
You could omit them by comparing "author" and "committer". When the squash and commit option is used these are different.