Deduplicate blobs
Dependencies
- [2]
P2B4ZSO5Include file content - [3]
5ETDKF5FStart on data structures to represent fast-export stream - [4]
K23EJ6EJProcess commits in reverse
Change contents
- edit in fast-export.go at line 4
"crypto/sha512" - replacement in fast-export.go at line 94
marks intmarks intblobIndex map[[64]byte]int - edit in fast-export.go at line 128
hash := sha512.Sum512(data)if mark, ok := f.blobIndex[hash]; ok {return mark} - edit in fast-export.go at line 138
if f.blobIndex == nil {f.blobIndex = make(map[[64]byte]int)}f.blobIndex[hash] = b.Mark