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
@@ -252,6 +252,7 @@ public class CherryPickCommand extends GitCommand<CherryPickResult> { | |||
* @param prefix | |||
* including ":" | |||
* @return {@code this} | |||
* @since 3.1 | |||
*/ | |||
public CherryPickCommand setReflogPrefix(final String prefix) { | |||
this.reflogPrefix = prefix; |
@@ -91,6 +91,7 @@ public class StatusCommand extends GitCommand<Status> { | |||
* @param path | |||
* a path is relative to the top level of the repository | |||
* @return {@code this} | |||
* @since 3.1 | |||
*/ | |||
public StatusCommand addPath(String path) { | |||
if (paths == null) | |||
@@ -104,6 +105,7 @@ public class StatusCommand extends GitCommand<Status> { | |||
* | |||
* @return the paths for which the status is shown or <code>null</code> if | |||
* the complete status for the whole repo is shown. | |||
* @since 3.1 | |||
*/ | |||
public List<String> getPaths() { | |||
return paths; |
@@ -128,12 +128,16 @@ public class UploadPack { | |||
* advertised. | |||
* <p> | |||
* This may happen, for example, when a custom {@link RefFilter} is set. | |||
* | |||
* @since 3.1 | |||
*/ | |||
TIP, | |||
/** | |||
* Client may ask for any commit reachable from any reference, even if that | |||
* reference wasn't advertised. | |||
* | |||
* @since 3.1 | |||
*/ | |||
REACHABLE_COMMIT_TIP, | |||
@@ -551,6 +555,7 @@ public class UploadPack { | |||
* @param tc | |||
* configuration controlling transfer options. If null the source | |||
* repository's settings will be used. | |||
* @since 3.1 | |||
*/ | |||
public void setTransferConfig(TransferConfig tc) { | |||
this.transferConfig = tc != null ? tc : new TransferConfig(db); |