Package org.eclipse.jgit.internal.storage.file

Examples of org.eclipse.jgit.internal.storage.file.ReflogWriter.log()


    entries.remove(stashRefEntry);
    ObjectId entryId = ObjectId.zeroId();
    try {
      for (int i = entries.size() - 1; i >= 0; i--) {
        ReflogEntry entry = entries.get(i);
        writer.log(stashLockRef, entryId, entry.getNewId(),
            entry.getWho(), entry.getComment());
        entryId = entry.getNewId();
      }
      if (!stashLockFile.renameTo(stashFile)) {
        FileUtils.delete(stashFile);
View Full Code Here


    entries.remove(stashRefEntry);
    ObjectId entryId = ObjectId.zeroId();
    try {
      for (int i = entries.size() - 1; i >= 0; i--) {
        ReflogEntry entry = entries.get(i);
        writer.log(stashLockRef, entryId, entry.getNewId(),
            entry.getWho(), entry.getComment());
        entryId = entry.getNewId();
      }
      if (!stashLockFile.renameTo(stashFile)) {
        FileUtils.delete(stashFile);
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.