Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plumbing: moved `Reference.Is*` methods to `ReferenceName.Is*` | Máximo Cuadros | 2017-08-02 | 2 | -24/+24 |
| | |||||
* | transport: fix ssh override config, fixes #519v4.0.0-rc13 | Máximo Cuadros | 2017-07-28 | 2 | -5/+40 |
| | |||||
* | Submodule.Update, add Auth to SubmoduleUpdateOption, fixes #520 | Máximo Cuadros | 2017-07-28 | 2 | -1/+3 |
| | |||||
* | Merge pull request #516 from smola/revlist-perf | Máximo Cuadros | 2017-07-28 | 1 | -1/+28 |
|\ | | | | | revlist: ignore all objects reachable from ignored objects | ||||
| * | revlist: ignore all objects reachable from ignored objects | Santiago M. Mola | 2017-07-27 | 1 | -1/+28 |
| | | | | | | | | | | | | | | Usually we call revlist.Objects ignoring a set of commits. This is not enough to ignore everything reachable from such set, so we first get all objects reachable from the ignored set and then walk the tree again ignoring that new set. | ||||
* | | Merge pull request #515 from smola/reuse-packed-objects | Máximo Cuadros | 2017-07-27 | 12 | -93/+493 |
|\ \ | | | | | | | storage: reuse deltas from packfiles | ||||
| * | | plumbing: add IsDelta method to ObjectType | Santiago M. Mola | 2017-07-27 | 2 | -6/+8 |
| | | | | | | | | | | | | | | | ObjectType.IsDelta is a convenience function to match both offset and reference delta types. | ||||
| * | | storage: reuse deltas from packfiles | Santiago M. Mola | 2017-07-27 | 12 | -107/+491 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * plumbing: add DeltaObject interface for EncodedObjects that are deltas and hold additional information about them, such as the hash of the base object. * plumbing/storer: add DeltaObjectStorer interface for object storers that can return DeltaObject. Note that calls to EncodedObject will never return instances of DeltaObject. That requires explicit calls to DeltaObject. * storage/filesystem: implement DeltaObjectStorer interface. * plumbing/packfile: packfile encoder now supports reusing deltas that are already computed (e.g. from an existing packfile) if the storage implements DeltaObjectStorer. Reusing deltas boosts performance of packfile generation (e.g. on push). | ||||
| * | | test: improve packfile.Encoder tests | Santiago M. Mola | 2017-07-27 | 1 | -54/+68 |
| | | | | | | | | | | | | | | | | | | | | | * Improve checks for encode/decode. * Make it easier to extend this test with more storage backends. | ||||
* | | | Merge pull request #517 from smola/more-cache-reuse | Máximo Cuadros | 2017-07-27 | 1 | -3/+4 |
|\ \ \ | |/ / |/| | | filesystem: reuse cache for packfile iterator | ||||
| * | | filesystem: reuse cache for packfile iterator | Santiago M. Mola | 2017-07-27 | 1 | -3/+4 |
|/ / | |||||
* | | Merge pull request #514 from smola/use-cache-delta | Máximo Cuadros | 2017-07-27 | 6 | -113/+154 |
|\ \ | |/ |/| | cache: reuse object cache for delta resolution, use LRU policy | ||||
| * | plumbing/cache: change FIFO to LRU cache | Santiago M. Mola | 2017-07-27 | 4 | -91/+94 |
| | | |||||
| * | storage/filesystem: reuse delta cache | Santiago M. Mola | 2017-07-27 | 2 | -11/+31 |
| | | | | | | | | | | Reuse delta base object cache for packfile decoders across multiple instances. | ||||
| * | plumbing/cache: use more explicit interface | Santiago M. Mola | 2017-07-27 | 4 | -26/+44 |
|/ | | | | | | * renamed Add to Put * Get returns a second bool value to indicate if there was hit or miss. | ||||
* | Merge pull request #512 from mcuadros/idx-64bits | Máximo Cuadros | 2017-07-27 | 6 | -2/+123 |
|\ | | | | | format: idxfile, support for >2Gb packfiles | ||||
| * | format: idxfile, support for >2Gb packfiles | Máximo Cuadros | 2017-07-27 | 6 | -2/+123 |
| | | |||||
* | | Merge pull request #513 from mcuadros/worktree-fs | Máximo Cuadros | 2017-07-27 | 9 | -89/+91 |
|\ \ | | | | | | | worktree: expose underlying filesystem | ||||
| * | | worktree: expose underlying filesystem | Máximo Cuadros | 2017-07-26 | 9 | -89/+91 |
| |/ | |||||
* | | Merge pull request #511 from mcuadros/pull-ff | Máximo Cuadros | 2017-07-27 | 3 | -6/+109 |
|\ \ | |/ |/| | remote: pull refactor to match default behavior of cgit | ||||
| * | remote: pull refactor to match default behaviour | Máximo Cuadros | 2017-07-26 | 3 | -6/+109 |
|/ | |||||
* | Merge pull request #509 from mcuadros/ctx-main | Máximo Cuadros | 2017-07-26 | 8 | -66/+300 |
|\ | | | | | *: package context support in Repository, Remote and Submodule | ||||
| * | *: package context support in Repository, Remote and Submodule | Máximo Cuadros | 2017-07-26 | 8 | -66/+300 |
| | | |||||
* | | Merge pull request #510 from smola/refactor-idxfile | Máximo Cuadros | 2017-07-26 | 11 | -138/+318 |
|\ \ | |/ |/| | packfile: create packfile.Index and reuse it | ||||
| * | packfile: create packfile.Index and reuse it | Santiago M. Mola | 2017-07-26 | 11 | -138/+318 |
|/ | | | | | | | | | | | | | | | There was an internal type (i.e. storage/filesystem.idx) to use as in-memory index for packfiles. This was not convenient to reuse in the packfile. This commit creates a new representation (format/packfile.Index) that can be converted to and from idxfile.Idxfile. A packfile.Index now contains the functionality that was scattered on storage/filesystem.idx and packfile.Decoder's internals. storage/filesystem now reuses packfile.Index instances and this also results in higher cache hit ratios when resolving deltas. | ||||
* | Merge pull request #507 from mcuadros/ctx | Máximo Cuadros | 2017-07-25 | 14 | -42/+387 |
|\ | | | | | transport: context package support allowing cancellation of any network operation | ||||
| * | *: context.TODO() | Máximo Cuadros | 2017-07-25 | 1 | -2/+3 |
| | | |||||
| * | transport: context package support | Máximo Cuadros | 2017-07-25 | 11 | -39/+187 |
| | | |||||
| * | ioutil: Context and OnError helpers | Máximo Cuadros | 2017-07-25 | 2 | -1/+197 |
| | | |||||
* | | Merge pull request #499 from mcuadros/move-pull | Máximo Cuadros | 2017-07-24 | 5 | -271/+271 |
|\ \ | | | | | | | move Repository.Pull to Worktree.Pull | ||||
| * | | move Repository.Pull to Worktree.Pull | Máximo Cuadros | 2017-07-24 | 5 | -271/+271 |
|/ / | |||||
* | | Merge pull request #498 from mcuadros/fix-push | Máximo Cuadros | 2017-07-24 | 4 | -171/+152 |
|\ \ | |/ |/| | remote: push, update remote refs on push | ||||
| * | remote: push, update remote refs on push | Máximo Cuadros | 2017-07-22 | 4 | -171/+152 |
| | | |||||
* | | Merge pull request #496 from lupine/490-no-tags-fetch-mode | Máximo Cuadros | 2017-07-22 | 2 | -0/+18 |
|\ \ | |/ |/| | Implement a NoTags mode for fetch that mimics git fetch --no-tags | ||||
| * | Implement a NoTags mode for fetch that mimics git fetch --no-tags | Nick Thomas | 2017-07-22 | 2 | -0/+18 |
|/ | |||||
* | Merge pull request #491 from smola/error-checks | Máximo Cuadros | 2017-07-19 | 11 | -47/+118 |
|\ | | | | | *: add more IO error checks | ||||
| * | storage/filesystem: check all Close errors | Santiago M. Mola | 2017-07-19 | 5 | -24/+32 |
| | | |||||
| * | test: add more PackfileWriter tests | Santiago M. Mola | 2017-07-19 | 4 | -2/+64 |
| | | |||||
| * | packfile: check close error in UpdateObjectStorage | Santiago M. Mola | 2017-07-19 | 1 | -8/+14 |
| | | |||||
| * | packfile: check zlib reader closing error | Santiago M. Mola | 2017-07-19 | 1 | -13/+8 |
| | | |||||
* | | Merge pull request #493 from src-d/windows | Máximo Cuadros | 2017-07-19 | 13 | -51/+95 |
|\ \ | | | | | | | *: several windows support fixes | ||||
| * | | plumbing: transport server, remove letfover | Máximo Cuadros | 2017-07-19 | 1 | -3/+0 |
| | | | |||||
| * | | storage: dotgit, fix test not closing files | Máximo Cuadros | 2017-07-19 | 2 | -0/+2 |
| | | | |||||
| * | | utils: merkletrie filesystem based on path, and not in filepath | Máximo Cuadros | 2017-07-19 | 3 | -14/+14 |
| | | | |||||
| * | | plumbing: format config, escape back slash | Máximo Cuadros | 2017-07-19 | 2 | -4/+2 |
| | | | |||||
| * | | worktree: commit, use path package instead of filepath | Máximo Cuadros | 2017-07-19 | 2 | -2/+10 |
| | | | |||||
| * | | worktree: commit, use path package instead of filepath | Máximo Cuadros | 2017-07-19 | 1 | -13/+13 |
| | | | |||||
| * | | worktree: submodules, missing err validation on load config | Máximo Cuadros | 2017-07-19 | 1 | -0/+4 |
| | | | |||||
| * | | worktree: close .gitmodule files | Máximo Cuadros | 2017-07-19 | 1 | -0/+1 |
| | | | |||||
| * | | worktree: fix file system info in windows | Máximo Cuadros | 2017-07-19 | 2 | -1/+20 |
| | | |