aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #314 from lupine/249-fix-bufio-buffer-fullMáximo Cuadros2017-03-284-2/+36
|\ | | | | plumbing: Use ReadBytes() rather than ReadSlice()
| * plumbing: Use ReadBytes() rather than ReadSlice()Nick Thomas2017-03-274-2/+36
| |
* | plumbing: Reference, support slash separated branch (#302)Yusuke Hatanaka2017-03-282-2/+26
| |
* | Merge pull request #305 from mvdan/history-reverseSantiago M. Mola2017-03-272-7/+59
|\ \ | |/ |/| plumbing/object: add WalkCommitHistoryPost func
| * plumbing/object: add WalkCommitHistoryPost funcDaniel Martí2017-03-272-7/+59
| | | | | | | | | | | | | | | | Also add a test. Make both the pre-order and post-order tests not sort commits, to actually test the order in which the commit history is walked. Fixes #223.
* | plumbing: ReferenceType as StringerMáximo Cuadros2017-03-222-0/+17
| |
* | Merge pull request #296 from ajnavarro/improvement/repositorySantiago M. Mola2017-03-2111-43/+426
|\ \ | | | | | | git: Repository methods changes
| * | Make referenceFilteredIter privateAntonio Jesus Navarro Perez2017-03-061-5/+5
| | |
| * | git: Repository methods changesAntonio Jesus Navarro Perez2017-03-0611-43/+426
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To have a more consistent public API, we decided to rename some methods, and add others: - Commit method renamed to CommitObject - Commits method renamed to CommitObjects - Tree method renamed to TreeObject - Trees method renamed to TreeObjects - Tags method renamed to TagObjects - Tag method renamed to TagObject - Added method Tags that returns tag references - Added method Branches that returns branch references - Added method Notes that returns note references - Added BlobObject method - Added BlobObjects method Also, we added more functionality related to references: - Added iterator to iterate References with a specific filter Some notes: - #298
* | | forcing the usage of gopkg.in/src-d/go-git.v4Máximo Cuadros2017-03-131-1/+1
| |/ |/|
* | Merge pull request #303 from ajnavarro/fix/gopkg-inSantiago M. Mola2017-03-10195-483/+483
|\ \ | |/ |/| project: move imports from srcd.works to gopkg.in
| * use go-billy.v2 versionAntonio Jesus Navarro Perez2017-03-1017-23/+23
| |
| * project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-07195-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-deprecatedMáximo Cuadros2017-03-043-51/+31
|\ | | | | difftree: simplify hash comparison with deprecated files modes
| * difftree: simplify hash comparison with deprecated files modesAlberto Cortés2017-03-033-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-docAntonio Navarro Perez2017-03-033-42/+52
|\ \ | |/ |/| improve git package documentation (fix #231)
| * Simplify Blame documentationAntonio Jesus Navarro Perez2017-03-031-25/+26
| |
| * Add full stops and keep implementation details as internal comments.Antonio Jesus Navarro Perez2017-03-033-8/+14
| |
| * improve git package documentation (fix #231)Antonio Jesus Navarro Perez2017-03-033-21/+24
| |
* | Merge pull request #299 from ajnavarro/fix/read-allSantiago M. Mola2017-03-032-5/+5
|\ \ | | | | | | Return values of Read not checked (fix #65)
| * | Return values of Read not checked (fix #65)Antonio Jesus Navarro Perez2017-03-022-5/+5
| |/
* | Merge pull request #297 from alcortesm/issue274Santiago M. Mola2017-03-0316-283/+784
|\ \ | |/ |/| issue #274: new filemode package
| * replace os.FileMode use with filemode.FileModeAlberto Cortés2017-03-0114-283/+248
| |
| * new filemode packageAlberto Cortés2017-03-012-0/+536
| |
* | Merge pull request #293 from ajnavarro/improvement/examplesMáximo Cuadros2017-03-018-2/+29
|\ \ | |/ |/| _examples: improve documentation (fix #238)
| * Fix typosAntonio Jesus Navarro Perez2017-02-282-6/+6
| |
| * _examples: improve documentationAntonio Jesus Navarro Perez2017-02-288-2/+29
| |
* | Merge pull request #294 from ajnavarro/improvement/todos-documentationSantiago M. Mola2017-03-017-16/+22
|\ \ | | | | | | Remove TODOs from documentation
| * | Remove TODOs from documentationAntonio Jesus Navarro Perez2017-02-287-16/+22
| |/
* | Merge pull request #292 from ajnavarro/improvement/revlistMáximo Cuadros2017-02-285-98/+144
|\ \ | |/ |/| plumbing/revlist: input as a slice of hashes instead of commits
| * plumbing/revlist: input as a slice of hashes instead of commitsAntonio Jesus Navarro Perez2017-02-275-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/cacheSantiago M. Mola2017-02-273-16/+21
|\ \ | | | | | | plumbing/cache: specify units in memory size (Fix #234)
| * | plumbing/cache: specify units in memory size (Fix #234)Antonio Jesus Navarro Perez2017-02-273-16/+21
| |/
* | Merge pull request #288 from ajnavarro/documentation/plumbingMáximo Cuadros2017-02-277-11/+56
|\ \ | |/ |/| plumbing: improve documentation (Fix #242)
| * plumbing: improve documentation (Fix #242)Antonio Jesus Navarro Perez2017-02-237-11/+56
| |
* | Merge pull request #284 from ajnavarro/improvement/move-difftree-to-objectMáximo Cuadros2017-02-248-66/+67
|\ \ | | | | | | plumbing/object: move difftree to object package
| * | Added documentation to Diff methodAntonio Jesus Navarro Perez2017-02-241-0/+1
| | |
| * | plumbing/object: move difftree to object packageAntonio Jesus Navarro Perez2017-02-248-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-finishMáximo Cuadros2017-02-241-0/+1
|\ \ | | | | | | Add fast_finish flag to travis configuration
| * | Add fast_finish flag to travis configurationAntonio Jesus Navarro Perez2017-02-231-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-iteratorMáximo Cuadros2017-02-242-1/+25
|\ \ | | | | | | plumbing/storer: referenceIterator now returns the error if any
| * | plumbing/storer: referenceIterator now returns the error if anyAntonio Jesus Navarro Perez2017-02-232-1/+25
| |/
* | Merge pull request #285 from alcortesm/fix-issue-279Máximo Cuadros2017-02-243-9/+72
|\ \ | |/ |/| Fix issue 279
| * difftree: ignore permissions changes between regular filesAlberto Cortés2017-02-222-6/+45
| | | | | | | | Fix issue #279.
| * test for issue 279Alberto Cortés2017-02-222-4/+28
|/
* Fix issue 275 (edited) (#276)Alberto Cortés2017-02-228-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/travisMáximo Cuadros2017-02-212-3/+3
|\ | | | | travis update to 1.8 and makefile silence commands
| * travis update to 1.8 and makefile silence commandsMáximo Cuadros2017-02-212-3/+3
| |
* | Merge pull request #282 from mcuadros/ssh-agent-fixMáximo Cuadros2017-02-212-3/+26
|\ \ | |/ |/| plumbing/transport: git, error on empty SSH_AUTH_SOCK
| * plumbing/transport: git, error on empty SSH_AUTH_SOCKMáximo Cuadros2017-02-212-3/+26
| |