do a check to see if we already know about the commit before looking it up.