Moving deprecated alias to deprecated.go
This commit is contained in:
parent
64d7a8e3f4
commit
d9acc5f4dd
|
@ -72,6 +72,13 @@ func NewCredDefault() (*Cred, error) {
|
|||
return NewCredentialDefault()
|
||||
}
|
||||
|
||||
// diff.go
|
||||
|
||||
const (
|
||||
// Deprecated: DiffIgnoreWhitespaceEol is a deprecated alias of DiffIgnoreWhitespaceEOL.
|
||||
DiffIgnoreWitespaceEol = DiffIgnoreWhitespaceEOL
|
||||
)
|
||||
|
||||
// features.go
|
||||
|
||||
const (
|
||||
|
|
2
diff.go
2
diff.go
|
@ -488,8 +488,6 @@ const (
|
|||
DiffIgnoreWhitespace DiffOptionsFlag = C.GIT_DIFF_IGNORE_WHITESPACE
|
||||
DiffIgnoreWhitespaceChange DiffOptionsFlag = C.GIT_DIFF_IGNORE_WHITESPACE_CHANGE
|
||||
DiffIgnoreWhitespaceEOL DiffOptionsFlag = C.GIT_DIFF_IGNORE_WHITESPACE_EOL
|
||||
// Deprecated: use DiffIgnoreWhitespaceEOL instead
|
||||
DiffIgnoreWitespaceEol = DiffIgnoreWhitespaceEOL
|
||||
|
||||
DiffShowUntrackedContent DiffOptionsFlag = C.GIT_DIFF_SHOW_UNTRACKED_CONTENT
|
||||
DiffShowUnmodified DiffOptionsFlag = C.GIT_DIFF_SHOW_UNMODIFIED
|
||||
|
|
Loading…
Reference in New Issue