aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing
Commit message (Collapse)AuthorAgeFilesLines
* worktree: Remove and Move methodsMáximo Cuadros2017-05-212-0/+29
|
* transport/server: use Endpoint string representation as a map key.Antonio Jesus Navarro Perez2017-05-163-4/+20
| | | | Two endpoints are not equals between them, even if they were generated using the same url or path.
* format/packfile: fix bug when the delta depth is equals to 50Antonio Jesus Navarro Perez2017-05-082-0/+10
|
* worktree: Commit, tests improvementsMáximo Cuadros2017-05-041-2/+2
|
* Merge branch 'master' of github.com:src-d/go-git into commitMáximo Cuadros2017-05-0415-83/+288
|\
| * Merge pull request #368 from smola/windows-pathMáximo Cuadros2017-05-047-25/+91
| |\ | | | | | | do not convert local paths to URL
| | * do not convert local paths to URLSantiago M. Mola2017-04-287-25/+91
| | | | | | | | | | | | | | | | | | | | | * 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.
| * | Merge pull request #364 from mcuadros/index-pointerMáximo Cuadros2017-05-045-11/+11
| |\ \ | | |/ | |/| plumbing: index, Entries converted in a slice of pointers
| * | transport: make Endpoint an interface, fixes #362Santiago M. Mola2017-04-2710-60/+199
| | | | | | | | | | | | | | | * add internal *url.URL implementation for regular URLs. * add internal implementation for SCP-like URLs.
* | | plumbing: MemoryObject.Writer tracks his own sizeMáximo Cuadros2017-05-045-30/+37
| | |
* | | plumbing: object.Tree making public `tree` and `parents`Máximo Cuadros2017-05-012-17/+19
| |/ |/|
* | plumbing: index, Entries converted in a slice of pointersMáximo Cuadros2017-04-265-11/+11
|/
* Merge pull request #360 from smola/go-vetMáximo Cuadros2017-04-266-15/+15
|\ | | | | fix go vet issues, add go vet to CI
| * object: avoid unreachable codeSantiago M. Mola2017-04-261-4/+1
| |
| * format/packfile: rename Seek to SeekFromStartSantiago M. Mola2017-04-263-6/+8
| | | | | | | | | | | | This has signature and behavior distinct from io.Seeker, go vet complains about this, so we change it to a different name to avoid confusion.
| * fix format string issues as found by go vetSantiago M. Mola2017-04-262-5/+6
| |
* | plumbing: transport, ssh fix public key builderMáximo Cuadros2017-04-261-1/+1
| |
* | Merge pull request #356 from mcuadros/ssh-default-authMáximo Cuadros2017-04-262-5/+22
|\ \ | |/ |/| transport: ssh, new DefaultAuthBuilder variable
| * transport: ssh, travis testsMáximo Cuadros2017-04-211-4/+15
| |
| * transport: ssh, new DefaultAuthBuilder variableMáximo Cuadros2017-04-211-1/+7
| |
* | transport: ssh, NewPublicKeys support for encrypted PEM filesMáximo Cuadros2017-04-212-9/+35
|/
* transport: ssh, NewPublicKeys helperMáximo Cuadros2017-04-212-23/+68
|
* Merge pull request #346 from mcuadros/ssh-known-hostsMáximo Cuadros2017-04-173-2/+93
|\ | | | | transport: ssh, default HostKeyCallback
| * transport: ssh, fork knownhosts package (temporal)Máximo Cuadros2017-04-171-1/+1
| |
| * transport: ssh, default HostKeyCallbackMáximo Cuadros2017-04-163-2/+93
| |
* | format: index, Index.Entry methodMáximo Cuadros2017-04-132-5/+39
|/
* worktree, reset implementation and status improvementsMáximo Cuadros2017-04-122-13/+16
|
* merkletrie: filesystem and index speedup and documentationMáximo Cuadros2017-04-111-18/+11
|
* merge, Repository.LogMáximo Cuadros2017-04-1110-135/+164
|\
| * Add Repository.Log() method (fix #298)Antonio Jesus Navarro Perez2017-04-115-127/+150
| | | | | | | | | | | | | | | | | | | | - CommitIter is now an interface - The old CommitIter implementation is now called StorerCommitIter - CommitWalker and CommitWalkerPost are now iterators (CommitPreIterator and CommitPostIterator). - Remove Commit.History() method. There are so many ways to iterate a commit history, depending of the use case. Now, instead of use the History() method, you must use CommitPreIterator or CommitPostIterator. - Move commitSorterer to references.go because is the only place that it is used, and it must not be used into another place. - Make References method private, it must only be used into blame logic. - Added a TODO into references method, where the sortCommits is used to remove it in a near future.
| * plumbing: transport, handle 403 in http transportChris Dostert2017-04-105-8/+14
| |
* | plumbing: object, public Tree.FindEntry and minor diff changesMáximo Cuadros2017-04-114-8/+17
| |
* | plumbing: format, index stringerMáximo Cuadros2017-04-111-0/+23
|/
* Set correct modes to change_adaptor testsAntonio Jesus Navarro Perez2017-04-061-0/+6
|
* object: fix Change.Files() method behavior (fix #317)Antonio Jesus Navarro Perez2017-04-062-0/+56
| | | | | - If 'from' or 'to' are tree entries that aren't files, Files() method will return nil instead of object not found error. - Added a test checking this using modules fixture.
* Work around a Go bug when parsing timezonesNick Thomas2017-03-301-1/+6
|
* 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-212-1/+161
|\ \ | |/ |/| git: Repository methods changes
| * Make referenceFilteredIter privateAntonio Jesus Navarro Perez2017-03-061-5/+5
| |
| * git: Repository methods changesAntonio Jesus Navarro Perez2017-03-062-1/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | use go-billy.v2 versionAntonio Jesus Navarro Perez2017-03-102-3/+3
| |
* | project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-07124-289/+289
|/ | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* 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 #299 from ajnavarro/fix/read-allSantiago M. Mola2017-03-031-4/+4
|\ | | | | Return values of Read not checked (fix #65)
| * Return values of Read not checked (fix #65)Antonio Jesus Navarro Perez2017-03-021-4/+4
| |