summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java
index 31f6a31c75..041276c0f8 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java
@@ -1019,10 +1019,12 @@ public class CommitCommand extends GitCommand<RevCommit> {
* @param credentialsProvider
* the provider to use when querying for credentials (eg., during
* signing)
- * @since 5.3
+ * @return {@code this}
+ * @since 6.0
*/
- public void setCredentialsProvider(
+ public CommitCommand setCredentialsProvider(
CredentialsProvider credentialsProvider) {
this.credentialsProvider = credentialsProvider;
+ return this;
}
}