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 19c7fe430..f9e863c0f 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 Void call() throws Exception { } /** + * 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 {