aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/commitgraph/file.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2021-12-11 12:02:17 +0100
committerGitHub <noreply@github.com>2021-12-11 12:02:17 +0100
commitf0b111ab70e4e90013658b0835929b2083902017 (patch)
tree04acaf3ded2a73541c213e10442602e346039bd0 /plumbing/format/commitgraph/file.go
parente60e348f614a7272e4a51bdee8ba20f059ca4cce (diff)
parent4ccea5bb8d8c12cb31dba22f36864ffb91529559 (diff)
downloadgo-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/commitgraph/file.go')
-rw-r--r--plumbing/format/commitgraph/file.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/plumbing/format/commitgraph/file.go b/plumbing/format/commitgraph/file.go
index 0ce7198..1d25238 100644
--- a/plumbing/format/commitgraph/file.go
+++ b/plumbing/format/commitgraph/file.go
@@ -14,14 +14,14 @@ import (
var (
// ErrUnsupportedVersion is returned by OpenFileIndex when the commit graph
// file version is not supported.
- ErrUnsupportedVersion = errors.New("Unsupported version")
+ ErrUnsupportedVersion = errors.New("unsupported version")
// ErrUnsupportedHash is returned by OpenFileIndex when the commit graph
// hash function is not supported. Currently only SHA-1 is defined and
// supported
- ErrUnsupportedHash = errors.New("Unsupported hash algorithm")
+ ErrUnsupportedHash = errors.New("unsupported hash algorithm")
// ErrMalformedCommitGraphFile is returned by OpenFileIndex when the commit
// graph file is corrupted.
- ErrMalformedCommitGraphFile = errors.New("Malformed commit graph file")
+ ErrMalformedCommitGraphFile = errors.New("malformed commit graph file")
commitFileSignature = []byte{'C', 'G', 'P', 'H'}
oidFanoutSignature = []byte{'O', 'I', 'D', 'F'}