aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* travis: updateMáximo Cuadros2017-04-151-4/+2
|
* ci windowsMáximo Cuadros2017-04-151-0/+18
|
* Merge pull request #339 from mcuadros/statusMáximo Cuadros2017-04-1219-292/+1288
|\ | | | | worktree, status and reset implementation based on merkletrie
| * examples: checkout example updateMáximo Cuadros2017-04-122-8/+20
| |
| * worktree, reset implementation and status improvementsMáximo Cuadros2017-04-128-122/+265
| |
| * merkletrie: filesystem and index speedup and documentationMáximo Cuadros2017-04-115-229/+190
| |
| * merge, Repository.LogMáximo Cuadros2017-04-1119-181/+345
| |\ | |/ |/|
* | Merge pull request #337 from ajnavarro/repository-logMáximo Cuadros2017-04-1114-173/+331
|\ \ | | | | | | Add Repository.Log() method (fix #298)
| * | Modify examplesAntonio Jesus Navarro Perez2017-04-113-15/+24
| | |
| * | Add Repository.Log() method (fix #298)Antonio Jesus Navarro Perez2017-04-1111-158/+307
|/ / | | | | | | | | | | | | | | | | | | - 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
| |
| * worktree, status implementation based on merkletrie and reset and checkout ↵Máximo Cuadros2017-04-118-268/+632
| | | | | | | | implementations
| * 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
| |
| * merkletrie: node support for billy filesystemsMáximo Cuadros2017-04-112-0/+255
| |
| * merkletrie: node support for index fileMáximo Cuadros2017-04-112-0/+229
|/
* Merge pull request #334 from taralx/rawConfigMáximo Cuadros2017-04-081-14/+14
|\ | | | | Export raw config
| * Export raw config.JP Sugarbroad2017-04-061-14/+14
|/
* Merge pull request #333 from taralx/masterMáximo Cuadros2017-04-071-6/+22
|\ | | | | Lazily load object index.
| * Lazily load object index.JP Sugarbroad2017-04-061-6/+22
| | | | | | | | fixes #327
* | Merge pull request #331 from marwan-at-work/examplesMáximo Cuadros2017-04-064-3/+45
|\ \ | |/ |/| add git checkout example + housekeeping
| * pr-fixesmarwan-at-work2017-04-063-5/+5
| |
| * add git checkout example + housekeepingmarwan-at-work2017-04-063-3/+45
| |
* | Merge pull request #324 from ajnavarro/fix/changes-file-for-non-files-no-errorMáximo Cuadros2017-04-063-0/+62
|\| | | | | object: fix Change.Files() method behavior (fix #317)
| * 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.
* Merge pull request #320 from lupine/318-fix-timezone-parsingMáximo Cuadros2017-03-311-1/+6
|\ | | | | Work around a Go bug when parsing timezones
| * Work around a Go bug when parsing timezonesNick Thomas2017-03-301-1/+6
|/
* Merge pull request #316 from BencicAndrej/readme-example-fixMáximo Cuadros2017-03-291-1/+1
|\ | | | | Updated README in-memory example.
| * Updated README in memory example.Andrej Bencic2017-03-281-1/+1
|/
* 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)