Compare by sha