Examples of RevBlob


Examples of org.eclipse.jgit.revwalk.RevBlob

import org.junit.Test;

public class GcTagTest extends GcTestCase {
  @Test
  public void lightweightTag_objectNotPruned() throws Exception {
    RevBlob a = tr.blob("a");
    tr.lightweightTag("t", a);
    gc.setExpireAgeMillis(0);
    fsTick();
    gc.prune(Collections.<ObjectId> emptySet());
    assertTrue(repo.hasObject(a));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.