Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | forcing the usage of gopkg.in/src-d/go-git.v4 | Máximo Cuadros | 2017-03-13 | 1 | -1/+1 |
| | |||||
* | Merge pull request #303 from ajnavarro/fix/gopkg-in | Santiago M. Mola | 2017-03-10 | 195 | -483/+483 |
|\ | | | | | project: move imports from srcd.works to gopkg.in | ||||
| * | use go-billy.v2 version | Antonio Jesus Navarro Perez | 2017-03-10 | 17 | -23/+23 |
| | | |||||
| * | project: move imports from srcd.works to gopkg.in | Antonio Jesus Navarro Perez | 2017-03-07 | 195 | -483/+483 |
|/ | | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release. | ||||
* | Merge pull request #300 from alcortesm/improvement-difftree-simplify-deprecated | Máximo Cuadros | 2017-03-04 | 3 | -51/+31 |
|\ | | | | | difftree: simplify hash comparison with deprecated files modes | ||||
| * | difftree: simplify hash comparison with deprecated files modes | Alberto Cortés | 2017-03-03 | 3 | -51/+31 |
| | | | | | | | | | | | | | | | | | | | | Difftree hash comparisson was quite complex because the hashes of deprecated files were diferent from the hashes of regular files. But git's difftree really treat them as equal. This patch fix this by making treenoder return the same hash for regular files than for deprecated files; now the hash comparison function is just a bytes.Equal call. | ||||
* | | Merge pull request #295 from ajnavarro/improvement/package-git-doc | Antonio Navarro Perez | 2017-03-03 | 3 | -42/+52 |
|\ \ | |/ |/| | improve git package documentation (fix #231) | ||||
| * | Simplify Blame documentation | Antonio Jesus Navarro Perez | 2017-03-03 | 1 | -25/+26 |
| | | |||||
| * | Add full stops and keep implementation details as internal comments. | Antonio Jesus Navarro Perez | 2017-03-03 | 3 | -8/+14 |
| | | |||||
| * | improve git package documentation (fix #231) | Antonio Jesus Navarro Perez | 2017-03-03 | 3 | -21/+24 |
| | | |||||
* | | Merge pull request #299 from ajnavarro/fix/read-all | Santiago M. Mola | 2017-03-03 | 2 | -5/+5 |
|\ \ | | | | | | | Return values of Read not checked (fix #65) | ||||
| * | | Return values of Read not checked (fix #65) | Antonio Jesus Navarro Perez | 2017-03-02 | 2 | -5/+5 |
| |/ | |||||
* | | Merge pull request #297 from alcortesm/issue274 | Santiago M. Mola | 2017-03-03 | 16 | -283/+784 |
|\ \ | |/ |/| | issue #274: new filemode package | ||||
| * | replace os.FileMode use with filemode.FileMode | Alberto Cortés | 2017-03-01 | 14 | -283/+248 |
| | | |||||
| * | new filemode package | Alberto Cortés | 2017-03-01 | 2 | -0/+536 |
| | | |||||
* | | Merge pull request #293 from ajnavarro/improvement/examples | Máximo Cuadros | 2017-03-01 | 8 | -2/+29 |
|\ \ | |/ |/| | _examples: improve documentation (fix #238) | ||||
| * | Fix typos | Antonio Jesus Navarro Perez | 2017-02-28 | 2 | -6/+6 |
| | | |||||
| * | _examples: improve documentation | Antonio Jesus Navarro Perez | 2017-02-28 | 8 | -2/+29 |
| | | |||||
* | | Merge pull request #294 from ajnavarro/improvement/todos-documentation | Santiago M. Mola | 2017-03-01 | 7 | -16/+22 |
|\ \ | | | | | | | Remove TODOs from documentation | ||||
| * | | Remove TODOs from documentation | Antonio Jesus Navarro Perez | 2017-02-28 | 7 | -16/+22 |
| |/ | |||||
* | | Merge pull request #292 from ajnavarro/improvement/revlist | Máximo Cuadros | 2017-02-28 | 5 | -98/+144 |
|\ \ | |/ |/| | plumbing/revlist: input as a slice of hashes instead of commits | ||||
| * | plumbing/revlist: input as a slice of hashes instead of commits | Antonio Jesus Navarro Perez | 2017-02-27 | 5 | -98/+144 |
| | | | | | | | | | | | | | | - Now the input of the method Objects inside revlist package is a slice of hashes instead of commits. Hashes can be from Blobs, Trees and Commits objects. - ObjectStorer now is used to obtain the object content using hashes slice. - This PR fix #222. Now a test into upload_pack_test.go file is not skipped anymore. - Remove code from remote.go and server.go that is not necessary. | ||||
* | | Merge pull request #289 from ajnavarro/documentation/cache | Santiago M. Mola | 2017-02-27 | 3 | -16/+21 |
|\ \ | | | | | | | plumbing/cache: specify units in memory size (Fix #234) | ||||
| * | | plumbing/cache: specify units in memory size (Fix #234) | Antonio Jesus Navarro Perez | 2017-02-27 | 3 | -16/+21 |
| |/ | |||||
* | | Merge pull request #288 from ajnavarro/documentation/plumbing | Máximo Cuadros | 2017-02-27 | 7 | -11/+56 |
|\ \ | |/ |/| | plumbing: improve documentation (Fix #242) | ||||
| * | plumbing: improve documentation (Fix #242) | Antonio Jesus Navarro Perez | 2017-02-23 | 7 | -11/+56 |
| | | |||||
* | | Merge pull request #284 from ajnavarro/improvement/move-difftree-to-object | Máximo Cuadros | 2017-02-24 | 8 | -66/+67 |
|\ \ | | | | | | | plumbing/object: move difftree to object package | ||||
| * | | Added documentation to Diff method | Antonio Jesus Navarro Perez | 2017-02-24 | 1 | -0/+1 |
| | | | |||||
| * | | plumbing/object: move difftree to object package | Antonio Jesus Navarro Perez | 2017-02-24 | 8 | -66/+66 |
|/ / | | | | | | | | | - To avoid ciclic dependency errors, we move all the difftree files to object package. - Added Diff method to Tree object. | ||||
* | | Merge pull request #287 from ajnavarro/improvement/fast-finish | Máximo Cuadros | 2017-02-24 | 1 | -0/+1 |
|\ \ | | | | | | | Add fast_finish flag to travis configuration | ||||
| * | | Add fast_finish flag to travis configuration | Antonio Jesus Navarro Perez | 2017-02-23 | 1 | -0/+1 |
| |/ | | | | | | | | | | | | | This flag allows us to improve the time spent in travis test execution if: - A build job fails, the build is mark as failed immediately, not waiting to finish the rest of the jobs. - All Build jobs pass. Travis will not wait to Allowed failures jobs to mark the PR as OK. | ||||
* | | Merge pull request #286 from ajnavarro/fix/reference-iterator | Máximo Cuadros | 2017-02-24 | 2 | -1/+25 |
|\ \ | | | | | | | plumbing/storer: referenceIterator now returns the error if any | ||||
| * | | plumbing/storer: referenceIterator now returns the error if any | Antonio Jesus Navarro Perez | 2017-02-23 | 2 | -1/+25 |
| |/ | |||||
* | | Merge pull request #285 from alcortesm/fix-issue-279 | Máximo Cuadros | 2017-02-24 | 3 | -9/+72 |
|\ \ | |/ |/| | Fix issue 279 | ||||
| * | difftree: ignore permissions changes between regular files | Alberto Cortés | 2017-02-22 | 2 | -6/+45 |
| | | | | | | | | Fix issue #279. | ||||
| * | test for issue 279 | Alberto Cortés | 2017-02-22 | 2 | -4/+28 |
|/ | |||||
* | Fix issue 275 (edited) (#276) | Alberto Cortés | 2017-02-22 | 8 | -81/+302 |
| | | | | | | | | | Fix #275 . It was not possible to write a test for this issue as the original fsnoder didn't support filenames with length > 1. Therefore this patch has 3 commits: add support for long filenames in fsnoder. add a test case for the issue using the new long filenames from step 1. fix the issue by comparing paths level by level instead of lexigographically over the whole path. | ||||
* | Merge pull request #283 from mcuadros/travis | Máximo Cuadros | 2017-02-21 | 2 | -3/+3 |
|\ | | | | | travis update to 1.8 and makefile silence commands | ||||
| * | travis update to 1.8 and makefile silence commands | Máximo Cuadros | 2017-02-21 | 2 | -3/+3 |
| | | |||||
* | | Merge pull request #282 from mcuadros/ssh-agent-fix | Máximo Cuadros | 2017-02-21 | 2 | -3/+26 |
|\ \ | |/ |/| | plumbing/transport: git, error on empty SSH_AUTH_SOCK | ||||
| * | plumbing/transport: git, error on empty SSH_AUTH_SOCK | Máximo Cuadros | 2017-02-21 | 2 | -3/+26 |
| | | |||||
* | | *: update tests to meet new submodule fixture | Máximo Cuadros | 2017-02-21 | 3 | -16/+6 |
| | | |||||
* | | plumbing/transport: client avoid panics on nil protocol | Máximo Cuadros | 2017-02-21 | 2 | -16/+26 |
|/ | |||||
* | Merge pull request #278 from ajnavarro/improvement/move-cache-to-plumbing | Máximo Cuadros | 2017-02-21 | 5 | -1/+1 |
|\ | | | | | cache: move package to plumbing | ||||
| * | cache: move package to plumbing | Antonio Jesus Navarro Perez | 2017-02-21 | 5 | -1/+1 |
| | | | | | | | | Because cache package is only intended to be used at internal level, we move it to the plumbing package. | ||||
* | | Merge pull request #277 from ajnavarro/remove-cshared | Máximo Cuadros | 2017-02-21 | 12 | -1900/+0 |
|\ \ | | | | | | | cshared: remove directory (Fix #236) | ||||
| * | | cshared: remove directory (Fix #236) | Antonio Jesus Navarro Perez | 2017-02-21 | 12 | -1900/+0 |
| |/ | | | | | | | If some day this code is needed, we can go back into the commit history and get it. | ||||
* | | Merge pull request #270 from mcuadros/submodules-init | Máximo Cuadros | 2017-02-21 | 30 | -131/+1092 |
|\ \ | |/ |/| | Submodules init and update | ||||
| * | rebase master | Máximo Cuadros | 2017-02-21 | 10 | -0/+2281 |
| |\ | |/ |/| | |||||
* | | difftree for git.Trees (#273) | Alberto Cortés | 2017-02-21 | 7 | -536/+1269 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Last PR to fix #82: This PR modifies the difftree package itself. The old version extracted the files in both trees and compare them by hand. The new version turn the trees into merkletrie.Noders and call the merkletrie.Difftree function on them. How to review this PR: treenoder.go: defines the treeNoder type that wraps a git.Tree and implements merkletrie.Noder. change.go: defines the type of the output of a difftree operation. The type is the same as before, but I have moved it into its own file to keep the package organized. The old package defines the Action type too (insert, delete, modify), now, we reuse merkletrie.Action and it is no longer a field, but a method. change_adaptor.go: defines functions to turn merkletrie.Changes into difftree.Changes. difftree.go: before this patch this file holds all the logic to do a difftree, now it just turns the git.Trees into treeNoders, call merkletrie.difftree on them, and turns the resulting merkletrie.Changes into difftree.Changes. The only interesting piece of code here is that noders don't have the concept of mode (file permissions). The treenoder type codifies git.Tree modes into the merkletrie.Noder hash, so changes in the mode of a file are detected as modifications, just as the original git diff-tree command does. |