diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2018-09-27 01:23:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 01:23:06 +0200 |
commit | 1fdd36c814746efdf199392135696cfde7287b44 (patch) | |
tree | 8aecf896a1334aa97f6d3db4251c3f36b2c950c6 | |
parent | c2ab4ac47d87f4cd674d19228e24b6696bd1db4d (diff) | |
parent | 156d632a533263091491e9b4a3d9770245fa4af9 (diff) | |
download | go-git-1fdd36c814746efdf199392135696cfde7287b44.tar.gz |
Merge pull request #966 from jmkim/fix-typo
all: remove extra 's' in "mismatch"
-rw-r--r-- | config/refspec.go | 2 | ||||
-rw-r--r-- | plumbing/format/index/decoder.go | 2 |
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") |