Change-Id: I9754e2124c0fe6ad2dbde5597c3ed10f1c3efef5 Signed-off-by: Lars Vogel <Lars.Vogel@gmail.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>tags/v3.1.0.201309270735-rc1
* @param prefix | * @param prefix | ||||
* including ":" | * including ":" | ||||
* @return {@code this} | * @return {@code this} | ||||
* @since 3.1 | |||||
*/ | */ | ||||
public CherryPickCommand setReflogPrefix(final String prefix) { | public CherryPickCommand setReflogPrefix(final String prefix) { | ||||
this.reflogPrefix = prefix; | this.reflogPrefix = prefix; |
* @param path | * @param path | ||||
* a path is relative to the top level of the repository | * a path is relative to the top level of the repository | ||||
* @return {@code this} | * @return {@code this} | ||||
* @since 3.1 | |||||
*/ | */ | ||||
public StatusCommand addPath(String path) { | public StatusCommand addPath(String path) { | ||||
if (paths == null) | if (paths == null) | ||||
* | * | ||||
* @return the paths for which the status is shown or <code>null</code> if | * @return the paths for which the status is shown or <code>null</code> if | ||||
* the complete status for the whole repo is shown. | * the complete status for the whole repo is shown. | ||||
* @since 3.1 | |||||
*/ | */ | ||||
public List<String> getPaths() { | public List<String> getPaths() { | ||||
return paths; | return paths; |
* advertised. | * advertised. | ||||
* <p> | * <p> | ||||
* This may happen, for example, when a custom {@link RefFilter} is set. | * This may happen, for example, when a custom {@link RefFilter} is set. | ||||
* | |||||
* @since 3.1 | |||||
*/ | */ | ||||
TIP, | TIP, | ||||
/** | /** | ||||
* Client may ask for any commit reachable from any reference, even if that | * Client may ask for any commit reachable from any reference, even if that | ||||
* reference wasn't advertised. | * reference wasn't advertised. | ||||
* | |||||
* @since 3.1 | |||||
*/ | */ | ||||
REACHABLE_COMMIT_TIP, | REACHABLE_COMMIT_TIP, | ||||
* @param tc | * @param tc | ||||
* configuration controlling transfer options. If null the source | * configuration controlling transfer options. If null the source | ||||
* repository's settings will be used. | * repository's settings will be used. | ||||
* @since 3.1 | |||||
*/ | */ | ||||
public void setTransferConfig(TransferConfig tc) { | public void setTransferConfig(TransferConfig tc) { | ||||
this.transferConfig = tc != null ? tc : new TransferConfig(db); | this.transferConfig = tc != null ? tc : new TransferConfig(db); |