/** * Return a command object to execute a {@code status} command * * @see <a href= * "http://www.kernel.org/pub/software/scm/git/docs/git-status.html" * >Git documentation about status</a> * @return a {@link org.eclipse.jgit.api.StatusCommand} used to collect all * optional parameters and to finally execute the {@code status} * command */ public StatusCommand status() { return new StatusCommand(repo); }
Set<String> files = new TreeSet<>(); try { StatusCommand command = new StatusCommand(repo); Status status = command.call();
/** * Returns a command object to execute a {@code status} command * * @see <a * href="http://www.kernel.org/pub/software/scm/git/docs/git-status.html" * >Git documentation about status</a> * @return a {@link StatusCommand} used to collect all optional parameters * and to finally execute the {@code status} command */ public StatusCommand status() { return new StatusCommand(repo); }
/** * Return a command object to execute a {@code status} command * * @see <a href= * "http://www.kernel.org/pub/software/scm/git/docs/git-status.html" * >Git documentation about status</a> * @return a {@link org.eclipse.jgit.api.StatusCommand} used to collect all * optional parameters and to finally execute the {@code status} * command */ public StatusCommand status() { return new StatusCommand(repo); }
Set<String> files = new TreeSet<String>(); try { StatusCommand command = new StatusCommand(repo); Status status = command.call();
Set<String> files = new TreeSet<>(); try { StatusCommand command = new StatusCommand(repo); Status status = command.call();