Package org.eclipse.jgit.pgm
Class Show
java.lang.Object
org.eclipse.jgit.pgm.TextBuiltin
org.eclipse.jgit.pgm.Show
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Booleanprivate DiffFormatterprivate final DateFormatprivate final TimeZoneprivate Stringprotected TreeFilterprivate Integerprivate boolean(package private) booleanprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidabbrev(boolean on) (package private) voidabbrev(int lines) (package private) void(package private) voidignoreAllSpace(boolean on) (package private) voidignoreLeadingSpace(boolean on) (package private) voidignoreSpaceAtEol(boolean on) (package private) voidignoreSpaceChange(boolean on) protected voidinit(Repository repository, String gitDir) Initialize the command to work with a repository.(package private) voidnoPrefix(boolean on) (package private) voidnoRenames(boolean on) protected voidrun()Perform the actions of this command.private voidprivate voidprivate voidprivate voidprivate void(package private) voidsourcePrefix(String path) (package private) voidunified(int lines) Methods inherited from class org.eclipse.jgit.pgm.TextBuiltin
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, setCommandName
-
Field Details
-
myTZ
-
fmt
-
diffFmt
-
objectName
-
pathFilter
-
showSignature
private boolean showSignature -
showPatch
boolean showPatch -
detectRenames
-
renameLimit
-
showNameAndStatusOnly
private boolean showNameAndStatusOnly
-
-
Constructor Details
-
Show
Show()
-
-
Method Details
-
noRenames
void noRenames(boolean on) -
ignoreSpaceAtEol
void ignoreSpaceAtEol(boolean on) -
ignoreLeadingSpace
void ignoreLeadingSpace(boolean on) -
ignoreSpaceChange
void ignoreSpaceChange(boolean on) -
ignoreAllSpace
void ignoreAllSpace(boolean on) -
unified
void unified(int lines) -
abbrev
void abbrev(int lines) -
abbrev
void abbrev(boolean on) -
sourcePrefix
-
dstPrefix
-
noPrefix
void noPrefix(boolean on) -
init
Initialize the command to work with a repository.- Overrides:
initin classTextBuiltin- Parameters:
repository- the opened repository that the command should work on.gitDir- value of the--git-dircommand line option, ifrepositoryis null.
-
run
protected void run()Perform the actions of this command.This method should only be invoked by
TextBuiltin.execute(String[]).- Specified by:
runin classTextBuiltin
-
show
- Throws:
IOException
-
show
private void show(RevTree obj) throws MissingObjectException, IncorrectObjectTypeException, CorruptObjectException, IOException -
show
- Throws:
IOException
-
showDiff
- Throws:
IOException
-
showSignature
- Throws:
IOException
-