@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);