Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remote: use reference deltas on push when the remote server does not | Benjamin Ash | 2018-10-16 | 1 | -0/+23 |
| | | | | | | support offset deltas Signed-off-by: Benjamin Ash <bash@intelerad.com> | ||||
* | Expose Storage cache. | kuba-- | 2018-09-07 | 1 | -22/+13 |
| | | | | Signed-off-by: kuba-- <kuba@sourced.tech> | ||||
* | Remote.Fetch: error on missing remote reference | Máximo Cuadros | 2018-06-21 | 1 | -0/+14 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | git: remote, Add shallow commits instead of substituting. Fixes #412 | Javi Fontan | 2018-04-16 | 1 | -0/+52 |
| | | | | | | | | | | updateShallow substituted the previous shallow list with the one returned by the UploadPackResponse. If the repository had previous shallow commits these are deleted from the list. This change adds the new shallow hashes to the old ones. Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | dotgit: add CheckAndSetReference tests | Jeremy Stribling | 2017-11-28 | 1 | -2/+19 |
| | |||||
* | remote: add test for non-force, fast-forward fetching | Jeremy Stribling | 2017-11-27 | 1 | -0/+42 |
| | |||||
* | all: fixes for ineffective assign | ferhat elmas | 2017-11-26 | 1 | -0/+3 |
| | |||||
* | update to go-billy.v4 and go-git-fixtures.v3 | Máximo Cuadros | 2017-11-23 | 1 | -2/+2 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | remote: add the last 100 commits for each ref in haves list | Jeremy Stribling | 2017-10-05 | 1 | -1/+5 |
| | | | | | | | | | | | | | If the local ref is not an ancestor of the remote ref being fetched, then when we send an UploadPack request with that local ref as one of the Haves, the remote will not recognize it, and will think we are asking for the entire history of the repo, even if there's a common ancestor. To do this right, we need to support the multi-ack protocol so we can negotiate a common commit. That's hard though; this is a quick fix just to include the previous 100 commits for each local ref in the Haves list, and hope that one of them is the common commit. | ||||
* | Merge pull request #609 from darkowlzz/ls-remote | Máximo Cuadros | 2017-10-04 | 1 | -0/+31 |
|\ | | | | | remote: add support for ls-remote | ||||
| * | TestList: explicitly check the refs in fixture | Sunny | 2017-10-04 | 1 | -27/+21 |
| | | |||||
| * | Create ListOptions and rename LSRemote to List. | Sunny | 2017-10-04 | 1 | -5/+3 |
| | | |||||
| * | remote: add support for ls-remote | Sunny | 2017-10-02 | 1 | -0/+39 |
| | | |||||
* | | remote: iterate over reference only once | Miguel Molina | 2017-09-05 | 1 | -13/+15 |
|/ | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | Remote.Fetch Tags logic improvement and fix NoTags | Máximo Cuadros | 2017-09-04 | 1 | -1/+1 |
| | |||||
* | remote: avoid expensive revlist operation when only deleting refs | Jeremy Stribling | 2017-08-28 | 1 | -0/+36 |
| | |||||
* | Merge pull request #531 from mcuadros/ref-name | Máximo Cuadros | 2017-08-02 | 1 | -1/+1 |
|\ | | | | | plumbing: moved `Reference.Is*` methods to `ReferenceName.Is*` | ||||
| * | *: use the new API for ReferenceName.Is* methods | Máximo Cuadros | 2017-08-02 | 1 | -1/+1 |
| | | |||||
* | | config: multiple values in RemoteConfig (URLs and Fetch) | Santiago M. Mola | 2017-08-01 | 1 | -28/+27 |
|/ | | | | | | | | * 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. | ||||
* | *: package context support in Repository, Remote and Submodule | Máximo Cuadros | 2017-07-26 | 1 | -0/+41 |
| | |||||
* | Merge pull request #498 from mcuadros/fix-push | Máximo Cuadros | 2017-07-24 | 1 | -115/+75 |
|\ | | | | | remote: push, update remote refs on push | ||||
| * | remote: push, update remote refs on push | Máximo Cuadros | 2017-07-22 | 1 | -115/+75 |
| | | |||||
* | | Implement a NoTags mode for fetch that mimics git fetch --no-tags | Nick Thomas | 2017-07-22 | 1 | -0/+16 |
|/ | |||||
* | Merge pull request #485 from mcuadros/fetch-tagsv4.0.0-rc12 | Máximo Cuadros | 2017-07-17 | 1 | -53/+107 |
|\ | | | | | remote: fetch, correct behavior on tags | ||||
| * | remote: fetch, correct behaviour on tags | Máximo Cuadros | 2017-07-17 | 1 | -53/+107 |
| | | |||||
* | | remote: avoid duplicate haves | Máximo Cuadros | 2017-07-13 | 1 | -0/+19 |
|/ | |||||
* | remote: fix push delete, closes #466 | Santiago M. Mola | 2017-07-07 | 1 | -0/+47 |
| | | | | | Refspecs for deletes were not being used to produce delete commands on the update request. | ||||
* | Update local remote references during fetch even if no pack needs to be received | Ori Rawlings | 2017-06-19 | 1 | -0/+24 |
| | |||||
* | *: upgrade to go-billy.v3, merge | Máximo Cuadros | 2017-06-18 | 1 | -7/+7 |
| | |||||
* | do not convert local paths to URL | Santiago M. Mola | 2017-04-28 | 1 | -15/+14 |
| | | | | | | | * Do not convert local paths to URLs, just keep them as they are. * This way we add support for Windows without taking care of Windows path-to-URL conversion. | ||||
* | add test for tags push, closes #354 | Santiago M. Mola | 2017-04-27 | 1 | -0/+45 |
| | |||||
* | support force push (refspec with +) | Santiago M. Mola | 2017-04-27 | 1 | -0/+87 |
| | | | | | * add support for force push * add support for push of new references | ||||
* | use go-billy.v2 version | Antonio Jesus Navarro Perez | 2017-03-10 | 1 | -1/+1 |
| | |||||
* | project: move imports from srcd.works to gopkg.in | Antonio Jesus Navarro Perez | 2017-03-07 | 1 | -7/+7 |
| | | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release. | ||||
* | submodule init implementation | Máximo Cuadros | 2017-02-12 | 1 | -1/+2 |
| | |||||
* | config: RefSpec.Validate returning errors and doc (Fixes #232) | Máximo Cuadros | 2017-01-31 | 1 | -4/+4 |
| | |||||
* | new srcd.works/go-git.v4 path | Máximo Cuadros | 2017-01-30 | 1 | -5/+5 |
| | |||||
* | new git fixture path | Máximo Cuadros | 2017-01-30 | 1 | -1/+1 |
| | |||||
* | rename billy imports | Máximo Cuadros | 2017-01-30 | 1 | -2/+1 |
| | |||||
* | example: using new constructors | Máximo Cuadros | 2017-01-30 | 1 | -18/+19 |
|\ | |||||
| * | Repository.Progress moved as a field in *Options (#237) | Máximo Cuadros | 2017-01-30 | 1 | -18/+19 |
| | | |||||
* | | new repository constructors and worktree | Máximo Cuadros | 2017-01-28 | 1 | -1/+1 |
|/ | |||||
* | remote: fix empty-git-upload-pack error in fetch, when the reference points ↵ | Máximo Cuadros | 2017-01-12 | 1 | -0/+11 |
| | | | | to a non-commit object (#209) | ||||
* | remote: add Push (#178) | Santiago M. Mola | 2016-12-19 | 1 | -0/+109 |
| | | | | | | | | | | | | * remote: add Push. * add Push method to Remote. * add method Push to Repository. * examples: add push example. * requested changes * add tests, fixes | ||||
* | Extract billy (#173) | Sergio Arbeo | 2016-12-19 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | * Extract billy Billy is a new library directly extracted from go-git. It abstract several storages systems in a filesystem interface. More in github.com/src-d/billy * Fix grouping in imports block * Update billy to v1 * Re-remove fs_implementation example | ||||
* | remote: make Fetch atomic. (#185) | Santiago M. Mola | 2016-12-16 | 1 | -81/+13 |
| | | | | | | | * Remote now exposes only Fetch. No Connect, Disconnect, etc. * Repository uses a private fetch method in Remote for Clone/Pull. * getting capabilities, HEAD or other information from remote requires using the lower level client. * add Fetch method to Repository. | ||||
* | storage: shallow storage (#180) | Máximo Cuadros | 2016-12-15 | 1 | -0/+8 |
| | | | | | | | | * storage: shallow storage * changes * changes | ||||
* | move plumbing from top level package to plumbing (#183) | Santiago M. Mola | 2016-12-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * plumbing: rename Object -> EncodedObject. * plumbing/storer: rename ObjectStorer -> EncodedObjectStorer. * move difftree to plumbing/difftree. * move diff -> utils/diff * make Object/Tag/Blob/Tree/Commit/File depend on storer. * Object and its implementations now depend only on storer.EncodedObjectStorer, not git.Repository. * Tests are decoupled accordingly. * move Object/Commit/File/Tag/Tree to plumbing/object. * move Object/Commit/File/Tag/Tree to plumbing/object. * move checkClose to utils/ioutil. * move RevListObjects to plumbing/revlist.Objects. * move DiffTree to plumbing/difftree package. * rename files with plural nouns to singular * plumbing/object: add GetBlob/GetCommit/GetTag/GetTree. | ||||
* | examples: review, testing and documentation (#176) | Máximo Cuadros | 2016-12-12 | 1 | -46/+0 |
| | | | | | | | | | | * examples reviews, testing and documentation * including the execution on travis, and fix readme * fix example link * including the execution on travis | ||||
* | remote: fix Connect, returned nil error on failure. (#167) | Santiago M. Mola | 2016-12-08 | 1 | -0/+7 |
| |