summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/src/org
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-04-28 17:27:57 -0700
committerStefan Beller <sbeller@google.com>2016-05-25 17:11:21 -0700
commit063548b9afb516010cc114e33d5df7a09ea042fb (patch)
tree03a10f671b3bb11f4d378ca56b20b1b54696a64e /org.eclipse.jgit.pgm/src/org
parent8ff08994a4d1253c36de36090212806046d4331c (diff)
downloadjgit-063548b9afb516010cc114e33d5df7a09ea042fb.tar.gz
jgit-063548b9afb516010cc114e33d5df7a09ea042fb.zip
RepoCommand: remove --record-remote-branches
This function only works in bare mode, and the command line works in non-bare mode, so there's no point in pretending to support it here. Change-Id: Ia017aded93d072bdb9947ec08c424256c3abe438 Signed-off-by: Stefan Beller <sbeller@google.com>
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, 0 insertions, 4 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 ea59527fed..bec5003a1e 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
@@ -58,16 +58,12 @@ class Repo extends TextBuiltin {
@Argument(required = true, metaVar = "metaVar_path", usage = "usage_pathToXml")
private String path;
- @Option(name = "--record-remote-branch", usage = "usage_branches")
- private boolean branches;
-
@Override
protected void run() throws Exception {
new RepoCommand(db)
.setURI(uri)
.setPath(path)
.setGroups(groups)
- .setRecordRemoteBranch(branches)
.call();
}
}