merge to sha: add compare

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>