Package org.eclipse.jgit.transport

Examples of org.eclipse.jgit.transport.BundleWriter.include()


      log("%d entries added", cnt);
      final String msg = "snapshot";
      final RevCommit head = git.commit().setMessage(msg).call();

      final BundleWriter bw = new BundleWriter(git.getRepository());
      bw.include(sanitizeHeadRef(bundleRef), head);

      final FileOutputStream out = new FileOutputStream(bundle);
      try {
        bw.writeBundle(createProgressMonitor(), out);
      } finally {
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.