Package org.eclipse.jgit.submodule

Examples of org.eclipse.jgit.submodule.SubmoduleWalk.release()


      generator = new InMemorySubmoduleWalk(repository, submodulesConfig);
      try {
        DirCache index = repository.readDirCache();
        generator.setTree(new DirCacheIterator(index));
      } catch (IOException e) {
        generator.release();
        throw e;
      }
    } else {
      generator = SubmoduleWalk.forIndex(repository);
    }
View Full Code Here


            subRepo.close();
          }
        }
      }
    } finally {
      walk.release();
    }
  }

  private boolean isTracked(File file, Repository repo) throws IOException {
    ObjectId objectId = repo.resolve(Constants.HEAD);
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.