diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2021-12-11 12:02:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-11 12:02:17 +0100 |
commit | f0b111ab70e4e90013658b0835929b2083902017 (patch) | |
tree | 04acaf3ded2a73541c213e10442602e346039bd0 /plumbing/format/idxfile/decoder.go | |
parent | e60e348f614a7272e4a51bdee8ba20f059ca4cce (diff) | |
parent | 4ccea5bb8d8c12cb31dba22f36864ffb91529559 (diff) | |
download | go-git-f0b111ab70e4e90013658b0835929b2083902017.tar.gz |
Merge pull request #425 from abhinav/error-strings
error strings: Don't capitalize, use periods, or newlines
Diffstat (limited to 'plumbing/format/idxfile/decoder.go')
-rw-r--r-- | plumbing/format/idxfile/decoder.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/format/idxfile/decoder.go b/plumbing/format/idxfile/decoder.go index 7768bd6..51a3904 100644 --- a/plumbing/format/idxfile/decoder.go +++ b/plumbing/format/idxfile/decoder.go @@ -12,9 +12,9 @@ import ( var ( // ErrUnsupportedVersion is returned by Decode when the idx file version // is not supported. - ErrUnsupportedVersion = errors.New("Unsupported version") + ErrUnsupportedVersion = errors.New("unsupported version") // ErrMalformedIdxFile is returned by Decode when the idx file is corrupted. - ErrMalformedIdxFile = errors.New("Malformed IDX file") + ErrMalformedIdxFile = errors.New("malformed IDX file") ) const ( |