diff options
author | Miguel Molina <miguel@erizocosmi.co> | 2018-08-10 12:33:56 +0200 |
---|---|---|
committer | Miguel Molina <miguel@erizocosmi.co> | 2018-08-10 12:33:56 +0200 |
commit | 8d75d239e93474e4287870e4e5143da14e2c360d (patch) | |
tree | c93f6da98b9d51a53a3c6a49135947f4e6b65bc6 /plumbing/format/idxfile/encoder.go | |
parent | b944bc45af20b7362786f014fba1bbd72ba7fc76 (diff) | |
download | go-git-8d75d239e93474e4287870e4e5143da14e2c360d.tar.gz |
plumbing: idxfile, Crc32 to CRC32 and return ok from findHashIndex
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Diffstat (limited to 'plumbing/format/idxfile/encoder.go')
-rw-r--r-- | plumbing/format/idxfile/encoder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/format/idxfile/encoder.go b/plumbing/format/idxfile/encoder.go index 55df466..e479511 100644 --- a/plumbing/format/idxfile/encoder.go +++ b/plumbing/format/idxfile/encoder.go @@ -89,7 +89,7 @@ func (e *Encoder) encodeCRC32(idx *MemoryIndex) (int, error) { continue } - n, err := e.Write(idx.Crc32[pos]) + n, err := e.Write(idx.CRC32[pos]) if err != nil { return size, err } |