aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJongmin Kim <jmkim@pukyong.ac.kr>2018-09-26 23:59:23 +0900
committerJongmin Kim <jmkim@pukyong.ac.kr>2018-09-26 23:59:23 +0900
commit156d632a533263091491e9b4a3d9770245fa4af9 (patch)
tree8aecf896a1334aa97f6d3db4251c3f36b2c950c6
parentc2ab4ac47d87f4cd674d19228e24b6696bd1db4d (diff)
downloadgo-git-156d632a533263091491e9b4a3d9770245fa4af9.tar.gz
all: remove extra 's' in "mismatch"
Signed-off-by: Jongmin Kim <jmkim@pukyong.ac.kr>
-rw-r--r--config/refspec.go2
-rw-r--r--plumbing/format/index/decoder.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/refspec.go b/config/refspec.go
index c9b9d52..391705c 100644
--- a/config/refspec.go
+++ b/config/refspec.go
@@ -15,7 +15,7 @@ const (
var (
ErrRefSpecMalformedSeparator = errors.New("malformed refspec, separators are wrong")
- ErrRefSpecMalformedWildcard = errors.New("malformed refspec, missmatched number of wildcards")
+ ErrRefSpecMalformedWildcard = errors.New("malformed refspec, mismatched number of wildcards")
)
// RefSpec is a mapping from local branches to remote references
diff --git a/plumbing/format/index/decoder.go b/plumbing/format/index/decoder.go
index 1a58128..df25530 100644
--- a/plumbing/format/index/decoder.go
+++ b/plumbing/format/index/decoder.go
@@ -21,7 +21,7 @@ var (
// ErrMalformedSignature is returned by Decode when the index header file is
// malformed
ErrMalformedSignature = errors.New("malformed index signature file")
- // ErrInvalidChecksum is returned by Decode if the SHA1 hash missmatch with
+ // ErrInvalidChecksum is returned by Decode if the SHA1 hash mismatch with
// the read content
ErrInvalidChecksum = errors.New("invalid checksum")