|
|
@ -83,6 +83,9 @@ class Fetch extends AbstractFetchCommand { |
|
|
|
thin = Boolean.FALSE; |
|
|
|
thin = Boolean.FALSE; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Option(name = "--quiet", usage = "usage_quiet") |
|
|
|
|
|
|
|
private Boolean quiet; |
|
|
|
|
|
|
|
|
|
|
|
@Argument(index = 0, metaVar = "metaVar_uriish") |
|
|
|
@Argument(index = 0, metaVar = "metaVar_uriish") |
|
|
|
private String remote = Constants.DEFAULT_REMOTE_NAME; |
|
|
|
private String remote = Constants.DEFAULT_REMOTE_NAME; |
|
|
|
|
|
|
|
|
|
|
@ -105,6 +108,7 @@ class Fetch extends AbstractFetchCommand { |
|
|
|
fetch.setRemote(remote); |
|
|
|
fetch.setRemote(remote); |
|
|
|
if (thin != null) |
|
|
|
if (thin != null) |
|
|
|
fetch.setThin(thin.booleanValue()); |
|
|
|
fetch.setThin(thin.booleanValue()); |
|
|
|
|
|
|
|
if (quiet == null || !quiet.booleanValue()) |
|
|
|
fetch.setProgressMonitor(new TextProgressMonitor()); |
|
|
|
fetch.setProgressMonitor(new TextProgressMonitor()); |
|
|
|
|
|
|
|
|
|
|
|
FetchResult result = fetch.call(); |
|
|
|
FetchResult result = fetch.call(); |
|
|
|