Package org.eclipse.jgit.storage.file

Examples of org.eclipse.jgit.storage.file.RefDirectory


        "HEAD").getReverseEntries().get(0).getComment());
  }

  private void writeReflog(Repository db, ObjectId oldId, ObjectId newId,
      String msg, String refName) throws IOException {
    RefDirectory refs = (RefDirectory) db.getRefDatabase();
    RefDirectoryUpdate update = refs.newUpdate(refName, true);
    update.setNewObjectId(newId);
    refs.log(update, msg, true);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.storage.file.RefDirectory

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.