diff options
Diffstat (limited to 'plumbing/format/commitgraph/encoder.go')
-rw-r--r-- | plumbing/format/commitgraph/encoder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/format/commitgraph/encoder.go b/plumbing/format/commitgraph/encoder.go index a4c5ad3..b4a6978 100644 --- a/plumbing/format/commitgraph/encoder.go +++ b/plumbing/format/commitgraph/encoder.go @@ -107,7 +107,7 @@ func (e *Encoder) encodeChunkHeaders(chunkSignatures [][]byte, chunkSizes []uint }
offset += chunkSizes[i]
}
- if _, err = e.Write([]byte{0, 0, 0, 0}); err == nil {
+ if _, err = e.Write(lastSignature); err == nil {
err = binary.WriteUint64(e, offset)
}
return
|