Unlike {@link #lookupCommit(AnyObjectId)} this method only returnssuccessfully if the commit object exists, is verified to be a commit, and was parsed without error. @param id name of the commit object. @return reference to the commit object. Never null. @throws MissingObjectException the supplied commit does not exist. @throws IncorrectObjectTypeException the supplied id is not a commit or an annotated tag. @throws IOException a pack file or loose object could not be read.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|