Improve error reporting in the branch dialog
[egit/imyousuf.git] / org.spearce.egit.core / src / org / spearce / egit / core / internal / storage / KidWalk.java
blob6b8f46830ef325726642afdce5010c5aa1c4b5e7
1 /*******************************************************************************
2 * Copyright (C) 2007, Robin Rosenberg <robin.rosenberg@dewire.com>
3 * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * See LICENSE for the full license text, also available.
8 *******************************************************************************/
9 package org.spearce.egit.core.internal.storage;
11 import org.spearce.jgit.lib.AnyObjectId;
12 import org.spearce.jgit.lib.Repository;
13 import org.spearce.jgit.revwalk.RevCommit;
14 import org.spearce.jgit.revwalk.RevWalk;
16 class KidWalk extends RevWalk {
17 KidWalk(final Repository repo) {
18 super(repo);
21 @Override
22 protected RevCommit createCommit(final AnyObjectId id) {
23 return new KidCommit(id);