Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remote.Clone fix clone of tags in shallow mode | Máximo Cuadros | 2017-08-02 | 2 | -15/+44 |
| | |||||
* | Merge pull request #531 from mcuadros/ref-name | Máximo Cuadros | 2017-08-02 | 7 | -39/+37 |
|\ | | | | | plumbing: moved `Reference.Is*` methods to `ReferenceName.Is*` | ||||
| * | *: use the new API for ReferenceName.Is* methods | Máximo Cuadros | 2017-08-02 | 5 | -15/+13 |
| | | |||||
| * | plumbing: moved `Reference.Is*` methods to `ReferenceName.Is*` | Máximo Cuadros | 2017-08-02 | 2 | -24/+24 |
| | | |||||
* | | Merge pull request #501 from smola/config-multiple-urls | Máximo Cuadros | 2017-08-02 | 17 | -81/+219 |
|\ \ | | | | | | | config: multiple values in RemoteConfig (URLs and Fetch) | ||||
| * | | config: preserve option order on config marshalling | Santiago M. Mola | 2017-08-01 | 7 | -24/+99 |
| | | | | | | | | | | | | | | | Do not change order of options (e.g. in RemoteConfig) when serializing for any option whose value has not changed. | ||||
| * | | format/config: add GoString | Santiago M. Mola | 2017-08-01 | 2 | -1/+32 |
| | | | | | | | | | | | | This is more convenient for testing and debugging. | ||||
| * | | config: multiple values in RemoteConfig (URLs and Fetch) | Santiago M. Mola | 2017-08-01 | 12 | -61/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Change `URL string` to `URL []string` in `RemoteConfig`, since git allows multiple URLs per remote. See: http://marc.info/?l=git&m=116231242118202&w=2 * Fix marshalling of multiple fetch refspecs. | ||||
* | | | Merge pull request #522 from devonbarrett/reuse-auth-#521 | Máximo Cuadros | 2017-07-29 | 2 | -8/+11 |
|\ \ \ | |_|/ |/| | | reuse Auth method when recursing submodules, fixes #521 | ||||
| * | | reuse Auth method when recursing submodules, fixes #521 | Devon Barrett | 2017-07-29 | 2 | -8/+11 |
|/ / | |||||
* | | 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 |