Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | packp/capability: Skip argument validations for unknown capabilities | Ori Rawlings | 2017-10-23 | 3 | -11/+36 |
| | | | | Fixes #623 | ||||
* | Merge pull request #610 from keybase/strib/gh-master-list-extra-haves | Máximo Cuadros | 2017-10-10 | 2 | -4/+97 |
|\ | | | | | remote: add the last 100 commits for each ref in haves list | ||||
| * | remote: add the last 100 commits for each ref in haves list | Jeremy Stribling | 2017-10-05 | 2 | -4/+97 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #617 from blacksails/patch-1 | Ori Rawlings | 2017-10-09 | 1 | -1/+1 |
|\ \ | | | | | | | Fix spelling | ||||
| * | | Fix spelling | Benjamin Nørgaard | 2017-10-09 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #615 from blacksails/master | Máximo Cuadros | 2017-10-08 | 2 | -4/+4 |
|\ \ \ | |_|/ |/| | | Fix spelling Unstagged -> Unstaged | ||||
| * | | Fix spelling Unstagged -> Unstaged | Benjamin Nørgaard | 2017-10-08 | 2 | -4/+4 |
|/ / | |||||
* | | Merge pull request #609 from darkowlzz/ls-remote | Máximo Cuadros | 2017-10-04 | 3 | -0/+70 |
|\ \ | | | | | | | 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 | 3 | -8/+12 |
| | | | |||||
| * | | remote: add support for ls-remote | Sunny | 2017-10-02 | 2 | -0/+72 |
| |/ | |||||
* | | Merge pull request #608 from balkian/master | Máximo Cuadros | 2017-09-29 | 2 | -3/+23 |
|\ \ | | | | | | | Add port to SCP Endpoints | ||||
| * | | Fixed SCP regex | J. Fernando Sánchez | 2017-09-28 | 2 | -2/+2 |
| | | | | | | | | | | | | URLs should be user@server:port/path instead of user@server:port:path | ||||
| * | | Adds port to SCP Endpoints | J. Fernando Sánchez | 2017-09-28 | 2 | -3/+23 |
|/ / | | | | | | | | | | | The port for SCP-like URLs was hardcoded to 22. This commit modifies the regex to find a port (optional), and adds a new test case that covers this scenario. | ||||
* | | Merge pull request #588 from erizocosmico/perf/revlist-norevisit-ancestors-fixed | Máximo Cuadros | 2017-09-12 | 2 | -3/+84 |
|\ \ | | | | | | | revlist: do not revisit ancestors as long as all branches are visited | ||||
| * | | revlist: do not revisit ancestors as long as all branches are visited | Miguel Molina | 2017-09-12 | 2 | -3/+84 |
|/ / | | | | | | | | | | | | | | | | | | | This change is the fixed version of the previous performance improvement that was reverted due to some bogus logic. Now it's fixed and only stops the iteration if and only if all of the branches we've come across have been visited, being a branch a parent commit of a commit we've visited. Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | | Merge pull request #586 from keybase/strib/commit-preorder-seen-gh-master | Máximo Cuadros | 2017-09-12 | 5 | -15/+45 |
|\ \ | | | | | | | plumbing: the commit walker can skip externally-seen commits | ||||
| * | | plumbing: the commit walker can skip externally-seen commits | Jeremy Stribling | 2017-09-09 | 5 | -15/+45 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the revlist is computing the set of hashes needed to transfer, it doesn't need to walk over commits it has already processed. So, it can instruct the commit walker not to walk those commits by passing in its own `seen` map. For a 36K object repo, this brought the time for `revlist.Objects` down from 50s to 30s. | ||||
* | | | Merge pull request #587 from keybase/strib/skip-compression-gh-master | Máximo Cuadros | 2017-09-11 | 10 | -42/+146 |
|\ \ \ | |/ / |/| | | config: support a configurable, and turn-off-able, pack.window | ||||
| * | | config: support a configurable, and turn-off-able, pack.window | Jeremy Stribling | 2017-09-11 | 10 | -42/+146 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | ||||
* | | Merge pull request #585 from src-d/doc/upd-linl | Máximo Cuadros | 2017-09-09 | 1 | -1/+1 |
|\ \ | | | | | | | examples: update link to GoDoc in _examples/storage | ||||
| * | | Update README.md | Alexander | 2017-09-09 | 1 | -1/+1 |
|/ / | | | | | Update like to storage GoDoc | ||||
* | | Merge pull request #584 from erizocosmico/revert/revlist-no-revisit-ancestors | Máximo Cuadros | 2017-09-08 | 1 | -17/+3 |
|\ \ | | | | | | | revert: revlist: do not revisit already visited ancestors | ||||
| * | | revert: revlist: do not revisit already visited ancestors | Miguel Molina | 2017-09-08 | 1 | -17/+3 |
|/ / | | | | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | | plumbing/index: fix TestEncode in go 1.9 | Máximo Cuadros | 2017-09-07 | 1 | -1/+2 |
| | | |||||
* | | travis: remove tip and add 1.9 | Máximo Cuadros | 2017-09-07 | 1 | -7/+2 |
| | | |||||
* | | Merge pull request #582 from erizocosmico/perf/deltas | Máximo Cuadros | 2017-09-07 | 3 | -56/+367 |
|\ \ | | | | | | | packfile: improve performance of delta generation | ||||
| * | | packfile: small optimizations for findMatch and matchLength | Miguel Molina | 2017-09-07 | 2 | -16/+38 |
| | | | | | | | | | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
| * | | packfile: parallelize deltification of objects in groups | Miguel Molina | 2017-09-07 | 2 | -21/+31 |
| | | | | | | | | | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
| * | | packfile: use a modified version of JGit DeltaIndex and DeltaIndexScanner | Miguel Molina | 2017-09-06 | 3 | -40/+286 |
| | | | | | | | | | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
| * | | packfile: slightly haster hash function for chunk-offset index key | Miguel Molina | 2017-09-06 | 2 | -11/+32 |
| | | | | | | | | | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
| * | | packfile: reuse delta indexes when possible | Miguel Molina | 2017-09-06 | 3 | -10/+22 |
| | | | | | | | | | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | | | Merge pull request #583 from matjam/matjam-1 | Máximo Cuadros | 2017-09-07 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Minor fix to grammatical error in error message for ErrRepositoryNotExists | ||||
| * | | Minor fix to grammatical error in error message for ErrRepositoryNotExists. | Nathan Ollerenshaw | 2017-09-06 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #580 from erizocosmico/perf/refs-iter-once | Máximo Cuadros | 2017-09-05 | 2 | -40/+73 |
|\ \ | | | | | | | remote: iterate over references only once | ||||
| * | | remote: iterate over reference only once | Miguel Molina | 2017-09-05 | 2 | -40/+73 |
|/ / | | | | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | | Merge pull request #579 from erizocosmico/perf/revlist-no-revisit-ancestors | Máximo Cuadros | 2017-09-05 | 1 | -11/+38 |
|\ \ | | | | | | | revlist: do not visit again already visited parents | ||||
| * | | revlist: do not visit again already visited parents | Miguel Molina | 2017-09-05 | 1 | -11/+38 |
| |/ | | | | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* / | Worktree.Add: Support Add deleted files, fixes #571 (#577) | grunenwflorian | 2017-09-05 | 3 | -0/+43 |
|/ | |||||
* | Merge pull request #578 from erizocosmico/perf/reduce-gc-pressv4.0.0-rc15 | Máximo Cuadros | 2017-09-04 | 4 | -6/+33 |
|\ | | | | | packfile: improve performance a little by reducing gc pressure | ||||
| * | packfile: improve performance a little by reducing gc pressure | Miguel Molina | 2017-09-04 | 4 | -6/+33 |
|/ | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | Merge pull request #576 from mcuadros/clone-tags | Máximo Cuadros | 2017-09-04 | 5 | -13/+57 |
|\ | | | | | Repository.Clone added Tags option, and set by default AllTags | ||||
| * | Repository.Clone added Tags option, and set by default AllTags as git does | Máximo Cuadros | 2017-09-04 | 3 | -6/+40 |
| | | |||||
| * | Remote.Fetch Tags logic improvement and fix NoTags | Máximo Cuadros | 2017-09-04 | 2 | -7/+17 |
|/ | |||||
* | Merge pull request #573 from orirawlings/pushSideband | Máximo Cuadros | 2017-09-01 | 8 | -6/+118 |
|\ | | | | | Add sideband support for push | ||||
| * | Add sideband support for push | Ori Rawlings | 2017-09-01 | 8 | -6/+118 |
| | | |||||
* | | Merge pull request #572 from mcuadros/reset | Máximo Cuadros | 2017-09-01 | 6 | -130/+277 |
|\ \ | |/ |/| | Worktree.Reset refactor and Soft, Merge, Hard and Mixed modes | ||||
| * | Worktree.Reset ignore untracked files on Merge mode | Máximo Cuadros | 2017-09-01 | 6 | -130/+277 |
|/ | |||||
* | Merge pull request #569 from erizocosmico/fix/race-condition-dotgit-refs | Máximo Cuadros | 2017-08-29 | 1 | -10/+15 |
|\ | | | | | dotgit: avoid duplicated references returned by Refs | ||||
| * | dotgit: avoid duplicated references returned by Refs | Miguel Molina | 2017-08-29 | 1 | -10/+15 |
|/ | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> |