aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.pgm/src/org')
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Repo.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Repo.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Repo.java
index 9d18cec760..9b191e6796 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Repo.java
+++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Repo.java
@@ -52,6 +52,9 @@ class Repo extends TextBuiltin {
@Option(name = "--base-uri", aliases = { "-u" }, usage = "usage_baseUri")
private String uri;
+ @Option(name = "--groups", aliases = { "-g" }, usage = "usage_groups")
+ private String groups = "default"; //$NON-NLS-1$
+
@Argument(required = true, usage = "usage_pathToXml")
private String path;
@@ -60,6 +63,7 @@ class Repo extends TextBuiltin {
new RepoCommand(db)
.setURI(uri)
.setPath(path)
+ .setGroups(groups)
.call();
}
}