Registering the Checkout command and fixed a typo.
The Checkout command line command was added to JGit but it wasn't registered in the list of available commands. Additionally, the 'force' option was named '---force' (triple '-'). Change-Id: I259773932fa9aec3bb29e215740e67c834566f6f Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
This commit is contained in:
parent
55b7bd247e
commit
13fffa7513
|
@ -1,6 +1,7 @@
|
|||
org.eclipse.jgit.pgm.Add
|
||||
org.eclipse.jgit.pgm.AmazonS3Client
|
||||
org.eclipse.jgit.pgm.Branch
|
||||
org.eclipse.jgit.pgm.Checkout
|
||||
org.eclipse.jgit.pgm.Clone
|
||||
org.eclipse.jgit.pgm.Commit
|
||||
org.eclipse.jgit.pgm.Daemon
|
||||
|
|
|
@ -54,7 +54,7 @@ class Checkout extends TextBuiltin {
|
|||
@Option(name = "-b", usage = "usage_createBranchAndCheckout")
|
||||
private boolean createBranch = false;
|
||||
|
||||
@Option(name = "---force", aliases = { "-f" }, usage = "usage_forceCheckout")
|
||||
@Option(name = "--force", aliases = { "-f" }, usage = "usage_forceCheckout")
|
||||
private boolean force = false;
|
||||
|
||||
@Argument(required = true, metaVar = "metaVar_name", usage = "usage_checkout")
|
||||
|
|
Loading…
Reference in New Issue