public RevCommit lookupCommit(AnyObjectId id) {RevCommit c = (RevCommit) objects.get(id);if (c == null) {c = createCommit(id);objects.add(c);}return c;}
public virtual RevCommit LookupCommit(AnyObjectId id){RevCommit c = (RevCommit)objects.Get(id);if (c == null){c = CreateCommit(id);objects.Add(c);}return c;}