aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/index/encoder.go
Commit message (Collapse)AuthorAgeFilesLines
* sha1: Add collision resistent implementationPaulo Gomes2022-11-251-3/+3
| | | | | | | | | | | | | | | | | | | Implement the same SHA1 collision resistent algorithm used by both the Git CLI and libgit2. Only commits with input that match the unavoidable bit conditions will be further processed, which will result in different hashes. Which is the same behaviour experienced in the Git CLI and Libgit2. Users can override the hash algorithm used with: hash.RegisterHash(crypto.SHA1, sha1.New) xref links: https://github.com/libgit2/libgit2/pull/4136/commits/2dfd1294f7a694bfa9e864a9489ae3cb318a5ed0 https://github.com/git/git/commit/28dc98e343ca4eb370a29ceec4c19beac9b5c01e Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* Support v3 indexJohn Cai2021-11-051-9/+25
| | | | | | Currently the index encoder does not support the v3 index format. This change adds support to the encoder. This helps to unlock sparse checkout.
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-1/+1
|
* plumbing: index, Entries converted in a slice of pointersMáximo Cuadros2017-04-261-2/+2
|
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-1/+1
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* documentation and API improvementsMáximo Cuadros2017-02-211-5/+5
|
* format/index: sort the Entries before encodeMáximo Cuadros2017-02-131-0/+9
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-1/+1
|
* new plumbing package (#118)Máximo Cuadros2016-11-081-0/+141
* plumbing: now core was renamed to core, and formats and clients moved inside