Package org.eclipse.jgit.api

Examples of org.eclipse.jgit.api.DescribeCommand.call()


    DescribeCommand cmd = new Git(db).describe();
    if (tree != null)
      cmd.setTarget(tree);
    String result = null;
    try {
      result = cmd.call();
    } catch (RefNotFoundException e) {
      throw die(CLIText.get().noNamesFound, e);
    }
    if (result == null)
      throw die(CLIText.get().noNamesFound);
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.