summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.lfs/src')
-rw-r--r--org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/InstallLfsCommand.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/InstallLfsCommand.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/InstallLfsCommand.java
index 19c7fe430a..f9e863c0fc 100644
--- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/InstallLfsCommand.java
+++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/InstallLfsCommand.java
@@ -102,12 +102,16 @@ public class InstallLfsCommand implements Callable<Void>{
}
/**
+ * Set the repository to install LFS for
+ *
* @param repo
* the repository to install LFS into locally instead of the user
* configuration
+ * @return this command
*/
- public void setRepository(Repository repo) {
+ public InstallLfsCommand setRepository(Repository repo) {
this.repository = repo;
+ return this;
}
private StoredConfig loadUserConfig() throws IOException {