aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/commitgraph/file.go
diff options
context:
space:
mode:
authorFilip Navara <navara@emclient.com>2019-04-25 06:58:36 +0200
committerFilip Navara <navara@emclient.com>2019-04-25 06:58:36 +0200
commit64f9d9a20765076eb024d38b2278a100829bf155 (patch)
tree9ee2fd61c70822031d206512f78a594ace916b0e /plumbing/format/commitgraph/file.go
parent5c6d199dc675465f5e103ea36c0bfcb9d3ebc565 (diff)
downloadgo-git-64f9d9a20765076eb024d38b2278a100829bf155.tar.gz
plumbing: format/commitgraph, clean up error handling
Signed-off-by: Filip Navara <navara@emclient.com>
Diffstat (limited to 'plumbing/format/commitgraph/file.go')
-rw-r--r--plumbing/format/commitgraph/file.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/format/commitgraph/file.go b/plumbing/format/commitgraph/file.go
index dce6243..26dff39 100644
--- a/plumbing/format/commitgraph/file.go
+++ b/plumbing/format/commitgraph/file.go
@@ -14,11 +14,11 @@ import (
var (
// ErrUnsupportedVersion is returned by OpenFileIndex when the commit graph
// file version is not supported.
- ErrUnsupportedVersion = errors.New("Unsuported 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("Unsuported 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")