| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.atlassian.bitbucket.scm.git.command.diff.GitDiffOutput | |
Enumerates output modes for diff-core commands like diff, diff-tree and log.
These modes are mutually exclusive, so they are defined as an enumeration rather than having distinct options
on the associated builder.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| GitDiffOutput | CHECK | Checks the diff for whitespace errors, using the process return code to signal whether any are found. | |||||||||
| GitDiffOutput | DEFAULT | Allows the command to produce its default output, without providing any specific argument to adjust it. | |||||||||
| GitDiffOutput | NAME_ONLY | Shows only the names of changed files. | |||||||||
| GitDiffOutput | NAME_STATUS | Shows the names of changed files and a status describing the change. | |||||||||
| GitDiffOutput | PATCH | Generate patch output. | |||||||||
| GitDiffOutput | SUPPRESS | Suppresses all diff output. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Checks the diff for whitespace errors, using the process return code to signal whether any are found.
Allows the command to produce its default output, without providing any specific argument to adjust it.
Shows the names of changed files and a status describing the change.
true if this mode requires a command line flag; otherwise, false