Package org.eclipse.jgit.storage.file

Examples of org.eclipse.jgit.storage.file.ReflogReader$Entry


    return null;
  }

  private String resolveReflogCheckout(int checkoutNo)
      throws IOException {
    List<ReflogEntry> reflogEntries = new ReflogReader(this, Constants.HEAD)
        .getReverseEntries();
    for (ReflogEntry entry : reflogEntries) {
      CheckoutEntry checkout = entry.parseCheckout();
      if (checkout != null)
        if (checkoutNo-- == 1)
View Full Code Here


    } catch (NumberFormatException nfe) {
      throw new RevisionSyntaxException(MessageFormat.format(
          JGitText.get().invalidReflogRevision, time));
    }
    assert number >= 0;
    ReflogReader reader = new ReflogReader(this, ref.getName());
    ReflogEntry entry = reader.getReverseEntry(number);
    if (entry == null)
      throw new RevisionSyntaxException(MessageFormat.format(
          JGitText.get().reflogEntryNotFound,
          Integer.valueOf(number), ref.getName()));
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.storage.file.ReflogReader$Entry

Copyright © 2018 www.massapicom. 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.