diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2016-03-01 23:18:08 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2016-03-01 23:18:34 +0100 |
commit | be8c525fa0664d429e23cbf070420cb84a4a1607 (patch) | |
tree | 74e9b085fc6b6a1c667da13c10489340eb6c04ec /org.eclipse.jgit.pgm | |
parent | e1b7e4eec75054bcfa48f34092e8f7e9beb4f4ad (diff) | |
download | jgit-be8c525fa0664d429e23cbf070420cb84a4a1607.tar.gz jgit-be8c525fa0664d429e23cbf070420cb84a4a1607.zip |
Fix help text for option --enable of command debug-rebuild-ref-tree
This fixes a MissingResourceException thrown when executing
jgit debug-rebuild-ref-tree --help
Change-Id: I637ea55084a913f5105ebf4cf2baef8b81877938
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r-- | org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties | 1 | ||||
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/RebuildRefTree.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties b/org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties index 33fb3ba497..fc412ba56f 100644 --- a/org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties +++ b/org.eclipse.jgit.pgm/resources/org/eclipse/jgit/pgm/internal/CLIText.properties @@ -244,6 +244,7 @@ usage_MergesTwoDevelopmentHistories=Merges two development histories usage_ReadDirCache= Read the DirCache 100 times usage_RebuildCommitGraph=Recreate a repository from another one's commit graph usage_RebuildRefTree=Copy references into a RefTree +usage_RebuildRefTreeEnable=set extensions.refsStorage = reftree usage_Remote=Manage set of tracked repositories usage_RepositoryToReadFrom=Repository to read from usage_RepositoryToReceiveInto=Repository to receive into diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/RebuildRefTree.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/RebuildRefTree.java index fbd4672f28..f2ac9456d7 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/RebuildRefTree.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/RebuildRefTree.java @@ -67,7 +67,7 @@ import org.kohsuke.args4j.Option; @Command(usage = "usage_RebuildRefTree") class RebuildRefTree extends TextBuiltin { - @Option(name = "--enable", usage = "set extensions.refsStorage = reftree") + @Option(name = "--enable", usage = "usage_RebuildRefTreeEnable") boolean enable; private String txnNamespace; |