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