Add support for comparing two commits