aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* config: multiple values in RemoteConfig (URLs and Fetch)Santiago M. Mola2017-08-0112-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 #517 from smola/more-cache-reuseMáximo Cuadros2017-07-271-3/+4
|\ | | | | filesystem: reuse cache for packfile iterator
| * filesystem: reuse cache for packfile iteratorSantiago M. Mola2017-07-271-3/+4
|/
* Merge pull request #514 from smola/use-cache-deltaMáximo Cuadros2017-07-276-113/+154
|\ | | | | cache: reuse object cache for delta resolution, use LRU policy
| * plumbing/cache: change FIFO to LRU cacheSantiago M. Mola2017-07-274-91/+94
| |
| * storage/filesystem: reuse delta cacheSantiago M. Mola2017-07-272-11/+31
| | | | | | | | | | Reuse delta base object cache for packfile decoders across multiple instances.
| * plumbing/cache: use more explicit interfaceSantiago M. Mola2017-07-274-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-64bitsMáximo Cuadros2017-07-276-2/+123
|\ | | | | format: idxfile, support for >2Gb packfiles
| * format: idxfile, support for >2Gb packfilesMáximo Cuadros2017-07-276-2/+123
| |
* | Merge pull request #513 from mcuadros/worktree-fsMáximo Cuadros2017-07-279-89/+91
|\ \ | | | | | | worktree: expose underlying filesystem
| * | worktree: expose underlying filesystemMáximo Cuadros2017-07-269-89/+91
| |/
* | Merge pull request #511 from mcuadros/pull-ffMáximo Cuadros2017-07-273-6/+109
|\ \ | |/ |/| remote: pull refactor to match default behavior of cgit
| * remote: pull refactor to match default behaviourMáximo Cuadros2017-07-263-6/+109
|/
* Merge pull request #509 from mcuadros/ctx-mainMáximo Cuadros2017-07-268-66/+300
|\ | | | | *: package context support in Repository, Remote and Submodule
| * *: package context support in Repository, Remote and SubmoduleMáximo Cuadros2017-07-268-66/+300
| |
* | Merge pull request #510 from smola/refactor-idxfileMáximo Cuadros2017-07-2611-138/+318
|\ \ | |/ |/| packfile: create packfile.Index and reuse it
| * packfile: create packfile.Index and reuse itSantiago M. Mola2017-07-2611-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/ctxMáximo Cuadros2017-07-2514-42/+387
|\ | | | | transport: context package support allowing cancellation of any network operation
| * *: context.TODO()Máximo Cuadros2017-07-251-2/+3
| |
| * transport: context package supportMáximo Cuadros2017-07-2511-39/+187
| |
| * ioutil: Context and OnError helpersMáximo Cuadros2017-07-252-1/+197
| |
* | Merge pull request #499 from mcuadros/move-pullMáximo Cuadros2017-07-245-271/+271
|\ \ | | | | | | move Repository.Pull to Worktree.Pull
| * | move Repository.Pull to Worktree.PullMáximo Cuadros2017-07-245-271/+271
|/ /
* | Merge pull request #498 from mcuadros/fix-pushMáximo Cuadros2017-07-244-171/+152
|\ \ | |/ |/| remote: push, update remote refs on push
| * remote: push, update remote refs on pushMáximo Cuadros2017-07-224-171/+152
| |
* | Merge pull request #496 from lupine/490-no-tags-fetch-modeMáximo Cuadros2017-07-222-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-tagsNick Thomas2017-07-222-0/+18
|/
* Merge pull request #491 from smola/error-checksMáximo Cuadros2017-07-1911-47/+118
|\ | | | | *: add more IO error checks
| * storage/filesystem: check all Close errorsSantiago M. Mola2017-07-195-24/+32
| |
| * test: add more PackfileWriter testsSantiago M. Mola2017-07-194-2/+64
| |
| * packfile: check close error in UpdateObjectStorageSantiago M. Mola2017-07-191-8/+14
| |
| * packfile: check zlib reader closing errorSantiago M. Mola2017-07-191-13/+8
| |
* | Merge pull request #493 from src-d/windowsMáximo Cuadros2017-07-1913-51/+95
|\ \ | | | | | | *: several windows support fixes
| * | plumbing: transport server, remove letfoverMáximo Cuadros2017-07-191-3/+0
| | |
| * | storage: dotgit, fix test not closing filesMáximo Cuadros2017-07-192-0/+2
| | |
| * | utils: merkletrie filesystem based on path, and not in filepathMáximo Cuadros2017-07-193-14/+14
| | |
| * | plumbing: format config, escape back slashMáximo Cuadros2017-07-192-4/+2
| | |
| * | worktree: commit, use path package instead of filepathMáximo Cuadros2017-07-192-2/+10
| | |
| * | worktree: commit, use path package instead of filepathMáximo Cuadros2017-07-191-13/+13
| | |
| * | worktree: submodules, missing err validation on load configMáximo Cuadros2017-07-191-0/+4
| | |
| * | worktree: close .gitmodule filesMáximo Cuadros2017-07-191-0/+1
| | |
| * | worktree: fix file system info in windowsMáximo Cuadros2017-07-192-1/+20
| | |
| * | plumbing: transport git fix test on windowsMáximo Cuadros2017-07-181-1/+3
| | |
| * | plumbing: server, fix loader in windowsMáximo Cuadros2017-07-181-1/+4
| | |
| * | storage: dotgit, close temp file before renameMáximo Cuadros2017-07-181-6/+9
| | |
| * | utils: merkletrie fix test on windowsMáximo Cuadros2017-07-182-16/+23
| | |
* | | Merge pull request #492 from ajnavarro/fix/panic-in-invalid-deltaMáximo Cuadros2017-07-192-16/+85
|\ \ \ | | | | | | | | packfile: Avoid panics patching corrupted deltas.
| * | | packfile: Avoid panics patching corrupted deltasAntonio Jesus Navarro Perez2017-07-192-16/+85
| | |/ | |/|
* | | Merge pull request #489 from mcuadros/shallow-pushMáximo Cuadros2017-07-196-41/+166
|\ \ \ | |/ / |/| | repository: allow push from shallow repositories
| * | repository: allow push from shallow repositoriesMáximo Cuadros2017-07-195-47/+83
| | |