Top Fields Constructors Methods
org.eclipse.jgit.pgm

pack-priv Class Merge

extends TextBuiltin
Class Inheritance
Annotations
@Command
common:true
usage:usage_MergesTwoDevelopmentHistories
Static Imports
org.eclipse.jgit.lib.Constants.OBJECT_ID_ABBREV_STRING_LENGTH

Field Summary

Modifier and TypeField and Description
private ContentMergeStrategy
private MergeCommand.FastForwardMode
private MergeStrategy
private String
private boolean
private String
private boolean
private String
Inherited from org.eclipse.jgit.pgm.TextBuiltin:
argWalkdberrserrwgitdirinsoutsoutw

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
ff(final boolean ignored)

pack-priv void
ffonly(final boolean ignored)

private Ref
private boolean
pack-priv void
noff(final boolean ignored)

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

contentStrategyback to summary
private ContentMergeStrategy contentStrategy
ffback to summary
private MergeCommand.FastForwardMode ff
mergeStrategyback to summary
private MergeStrategy mergeStrategy
messageback to summary
private String message
Annotations
@Option
name:-m
usage:usage_message
noCommitback to summary
private boolean noCommit
Annotations
@Option
name:--no-commit
usage:usage_noCommit
refback to summary
private String ref
Annotations
@Argument
required:true
metaVar:metaVar_ref
usage:usage_mergeRef
squashback to summary
private boolean squash
Annotations
@Option
name:--squash
usage:usage_squash
strategyNameback to summary
private String strategyName
Annotations
@Option
name:--strategy
aliases:-s
usage:usage_mergeStrategy

Constructor Detail

Mergeback to summary
pack-priv Merge()

Method Detail

extraArgback to summary
pack-priv void extraArg(String name)
Annotations
@Option
name:--strategy-option
aliases:-X
metaVar:metaVar_extraArgument
usage:usage_extraArgument
ffback to summary
pack-priv void ff(final boolean ignored)
Annotations
@Option
name:--ff
usage:usage_mergeFf
ffonlyback to summary
pack-priv void ffonly(final boolean ignored)
Annotations
@Option
name:--ff-only
usage:usage_mergeFfOnly
getOldHeadback to summary
private Ref getOldHead() throws IOException
isMergedIntoback to summary
private boolean isMergedInto(Ref oldHead, AnyObjectId src) throws IOException
noffback to summary
pack-priv void noff(final boolean ignored)
Annotations
@Option
name:--no-ff
usage:usage_mergeNoFf
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