Package org.eclipse.jgit.api

Examples of org.eclipse.jgit.api.DescribeCommand


  @Argument(index = 0, metaVar = "metaVar_treeish")
  private ObjectId tree;

  @Override
  protected void run() throws Exception {
    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

Related Classes of org.eclipse.jgit.api.DescribeCommand

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.