Top Fields Constructors Methods
org.eclipse.jgit.pgm

pack-priv Class Commit

extends TextBuiltin
Class Inheritance
Annotations
@Command
common:true
usage:usage_recordChangesToRepository
Imports
java.io.IOException, java.util.ArrayList, .List, org.eclipse.jgit.api.CommitCommand, .Git, org.eclipse.jgit.api.errors.GitAPIException, .JGitInternalException, org.eclipse.jgit.lib.Constants, .Ref, org.eclipse.jgit.pgm.internal.CLIText, org.eclipse.jgit.pgm.opt.GpgSignHandler, org.eclipse.jgit.revwalk.RevCommit, org.eclipse.jgit.util.RawParseUtils, org.kohsuke.args4j.Argument, .Option

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
private String
private String
private String
private boolean
private boolean
private List<String>
Inherited from org.eclipse.jgit.pgm.TextBuiltin:
argWalkdberrserrwgitdirinsoutsoutw

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
run()

Implements abstract org.eclipse.jgit.pgm.TextBuiltin.run.

Perform the actions of this command.

Inherited from org.eclipse.jgit.pgm.TextBuiltin:
abbreviateRefcontainsHelpdiediediedieexecutegetErrorWritergetOutputWritergetRepositorygetResourceBundleinitinitRawparseArgumentsprintUsageprintUsageAndExitprintUsageAndExitrequiresRepositoryresolvesetCommandName

Field Detail

allback to summary
private boolean all
Annotations
@Option
name:--all
aliases:-a
usage:usage_CommitAll
amendback to summary
private boolean amend
Annotations
@Option
name:--amend
usage:usage_CommitAmend
authorback to summary
private String author
Annotations
@Option
name:--author
metaVar:metaVar_author
usage:usage_CommitAuthor
gpgSigningKeyback to summary
private String gpgSigningKey
Annotations
@Option
name:--gpg-sign
aliases:-S
forbids:--no-gpg-sign
handler:GpgSignHandler
messageback to summary
private String message
Annotations
@Option
name:--message
aliases:-m
metaVar:metaVar_message
usage:usage_CommitMessage
required:true
noGpgSignback to summary
private boolean noGpgSign
Annotations
@Option
name:--no-gpg-sign
forbids:--gpg-sign
onlyback to summary
private boolean only
Annotations
@Option
name:--only
aliases:-o
usage:usage_CommitOnly
pathsback to summary
private List<String> paths
Annotations
@Argument
metaVar:metaVar_commitPaths
usage:usage_CommitPaths

Constructor Detail

Commitback to summary
pack-priv Commit()

Method Detail

runback to summary
protected void run()

Implements abstract org.eclipse.jgit.pgm.TextBuiltin.run.

Doc from org.eclipse.jgit.pgm.TextBuiltin.run.

Perform the actions of this command.

This method should only be invoked by execute(String[]).

Annotations
@Override