aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/idxfile/encoder.go
diff options
context:
space:
mode:
authorMiguel Molina <miguel@erizocosmi.co>2018-08-10 12:33:56 +0200
committerMiguel Molina <miguel@erizocosmi.co>2018-08-10 12:33:56 +0200
commit8d75d239e93474e4287870e4e5143da14e2c360d (patch)
treec93f6da98b9d51a53a3c6a49135947f4e6b65bc6 /plumbing/format/idxfile/encoder.go
parentb944bc45af20b7362786f014fba1bbd72ba7fc76 (diff)
downloadgo-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.go2
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
}