/** * Get the id of the blob at the path in the commit that HEAD currently * references. * * @param repository * @param path * @return blob id */ public static ObjectId getHeadId(final Repository repository, final String path) { return getId(repository, HEAD, path); }