]> source.dussan.org Git - jgit.git/commitdiff
RepoCommand: remove --record-remote-branches 57/71657/5
authorStefan Beller <sbeller@google.com>
Fri, 29 Apr 2016 00:27:57 +0000 (17:27 -0700)
committerStefan Beller <sbeller@google.com>
Thu, 26 May 2016 00:11:21 +0000 (17:11 -0700)
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>
org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Repo.java

index fc412ba56f4a0b2634efa5021b459eb9c12018c4..abe04b8885723f157ec416a7c58b7887452163c8 100644 (file)
@@ -211,7 +211,6 @@ untrackedFiles=Untracked files:
 updating=Updating {0}..{1}
 usage_Aggressive=This option will cause gc to more aggressively optimize the repository at the expense of taking much more time
 usage_bareClone=Make a bare Git repository. That is, instead of creating [DIRECTORY] and placing the administrative files in [DIRECTORY]/.git, make the [DIRECTORY] itself the $GIT_DIR.
-usage_branches=Set branch field in .gitmodules
 usage_Blame=Show what revision and author last modified each line
 usage_CommandLineClientForamazonsS3Service=Command line client for Amazon's S3 service
 usage_CommitAll=commit all modified and deleted files
index ea59527fed2dec1d5b9221d104ca14e76ce28ebd..bec5003a1ee6f97ca12c7170854419a71cd39d28 100644 (file)
@@ -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();
        }
 }