java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.bitbucket.scm.git.command.diff.GitDiffColor |
Enumerates the possible modes for git diff-core --color
.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GitDiffColor | ALWAYS | Always include color markers in the diff output. | |||||||||
GitDiffColor | AUTO | Automatically turn color markers in diff output on when connected to a terminal. | |||||||||
GitDiffColor | DEFAULT | Uses the .gitconfig -configured setting for color markers in diff output. |
|||||||||
GitDiffColor | NEVER | Never include color markers in the diff output, even if it is configured in .gitconfig . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Automatically turn color markers in diff output on when connected to a terminal.
Warning: This value is included for completeness in enumerating Git's supported color modes. However,
it functions the same as NEVER
, here, since the system is not a terminal.
Uses the .gitconfig
-configured setting for color markers in diff output.
Never include color markers in the diff output, even if it is configured in .gitconfig
.