Return this from InstallLfsCommand.setRepository() to allow chaining
Change-Id: I105f1f62f2dcdb20a196361190e9c9fe368e8613 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
0e188c5920
commit
28167853c1
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue