Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | *: migration from gopkg to go modules | Máximo Cuadros | 2020-03-10 | 1 | -2/+2 |
| | |||||
* | config: support a configurable, and turn-off-able, pack.window | Jeremy Stribling | 2017-09-11 | 1 | -9/+22 |
| | | | | | | | | | | | | | | | | | | | | One use of go-git is to transfer git data from a non-standard git repo (not stored in a file system, for example) to a "remote" backed by a standard, local .git repo. In this scenario, delta compression is not needed to reduce transfer time over the "network", because there is no network. The underlying storage layer has already taken care of the data tranfer, and sending the objects to local .git storage doesn't require compression. So this PR gives the user the option to turn off compression when it isn't needed. Of course, this results in a larger, uncompressed local .git repo, but the user can then run git gc or git repack on that repo if they care about the storage costs. Turning the pack window to 0 on reduces total push time of a 36K repo by 50 seconds (out of a pre-PR total of 3m26s). | ||||
* | plumbing: use sliding window in delta calculations, like git CL | Jeremy Stribling | 2017-08-28 | 1 | -0/+19 |
| | | | | | | | | | | This sets a default sliding window of 10 for the delta calculation, just like git CL: https://git-scm.com/docs/git-pack-objects#git-pack-objects---windowltngt For a big-ish repo with 35K objects (17K commits), this reduced the time for calling `deltaSelection.walk` during a push from more than 14 minutes to about a minute. | ||||
* | format/packfile: fix bug when the delta depth is equals to 50 | Antonio Jesus Navarro Perez | 2017-05-08 | 1 | -0/+5 |
| | |||||
* | project: move imports from srcd.works to gopkg.in | Antonio Jesus Navarro Perez | 2017-03-07 | 1 | -2/+2 |
| | | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release. | ||||
* | new srcd.works/go-git.v4 path | Máximo Cuadros | 2017-01-30 | 1 | -2/+2 |
| | |||||
* | packfile: delta selection logic (#182) | Antonio Navarro Perez | 2016-12-16 | 1 | -0/+199 |
* packfile: delta selection logic - Implemented logic to assign deltas to objects * Requested changes * Improved tests and fix errors |