summaryrefslogtreecommitdiff
path: root/deprecated.go
diff options
context:
space:
mode:
authorGustav Westling <[email protected]>2021-09-04 22:54:21 +0200
committerGitHub <[email protected]>2021-09-04 13:54:21 -0700
commitd4524761d9e08ba5430f5a94f56648c1ef0f651c (patch)
treeaa4494525c80f1d912c286b1f1cf090267e9b7c2 /deprecated.go
parent15434610fec67e704d3ad443b03054d1611f98fe (diff)
Add DiffIgnoreWitespaceEol and deprecate DiffIgnoreWitespaceEol (#774)
DiffIgnoreWitespaceEol contains a typo and does not have the same name as it's libgit2 counterpart. Fixes #773
Diffstat (limited to 'deprecated.go')
-rw-r--r--deprecated.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/deprecated.go b/deprecated.go
index ae277f1..c948808 100644
--- a/deprecated.go
+++ b/deprecated.go
@@ -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 (