Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modify examples | Antonio Jesus Navarro Perez | 2017-04-11 | 3 | -15/+24 |
| | |||||
* | Add Repository.Log() method (fix #298) | Antonio Jesus Navarro Perez | 2017-04-11 | 11 | -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 transport | Chris Dostert | 2017-04-10 | 5 | -8/+14 |
| | |||||
* | Merge pull request #334 from taralx/rawConfig | Máximo Cuadros | 2017-04-08 | 1 | -14/+14 |
|\ | | | | | Export raw config | ||||
| * | Export raw config. | JP Sugarbroad | 2017-04-06 | 1 | -14/+14 |
|/ | |||||
* | Merge pull request #333 from taralx/master | Máximo Cuadros | 2017-04-07 | 1 | -6/+22 |
|\ | | | | | Lazily load object index. | ||||
| * | Lazily load object index. | JP Sugarbroad | 2017-04-06 | 1 | -6/+22 |
| | | | | | | | | fixes #327 | ||||
* | | Merge pull request #331 from marwan-at-work/examples | Máximo Cuadros | 2017-04-06 | 4 | -3/+45 |
|\ \ | |/ |/| | add git checkout example + housekeeping | ||||
| * | pr-fixes | marwan-at-work | 2017-04-06 | 3 | -5/+5 |
| | | |||||
| * | add git checkout example + housekeeping | marwan-at-work | 2017-04-06 | 3 | -3/+45 |
| | | |||||
* | | Merge pull request #324 from ajnavarro/fix/changes-file-for-non-files-no-error | Máximo Cuadros | 2017-04-06 | 3 | -0/+62 |
|\| | | | | | object: fix Change.Files() method behavior (fix #317) | ||||
| * | Set correct modes to change_adaptor tests | Antonio Jesus Navarro Perez | 2017-04-06 | 1 | -0/+6 |
| | | |||||
| * | object: fix Change.Files() method behavior (fix #317) | Antonio Jesus Navarro Perez | 2017-04-06 | 2 | -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-parsing | Máximo Cuadros | 2017-03-31 | 1 | -1/+6 |
|\ | | | | | Work around a Go bug when parsing timezones | ||||
| * | Work around a Go bug when parsing timezones | Nick Thomas | 2017-03-30 | 1 | -1/+6 |
|/ | |||||
* | Merge pull request #316 from BencicAndrej/readme-example-fix | Máximo Cuadros | 2017-03-29 | 1 | -1/+1 |
|\ | | | | | Updated README in-memory example. | ||||
| * | Updated README in memory example. | Andrej Bencic | 2017-03-28 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #314 from lupine/249-fix-bufio-buffer-full | Máximo Cuadros | 2017-03-28 | 4 | -2/+36 |
|\ | | | | | plumbing: Use ReadBytes() rather than ReadSlice() | ||||
| * | plumbing: Use ReadBytes() rather than ReadSlice() | Nick Thomas | 2017-03-27 | 4 | -2/+36 |
| | | |||||
* | | plumbing: Reference, support slash separated branch (#302) | Yusuke Hatanaka | 2017-03-28 | 2 | -2/+26 |
| | | |||||
* | | Merge pull request #305 from mvdan/history-reverse | Santiago M. Mola | 2017-03-27 | 2 | -7/+59 |
|\ \ | |/ |/| | plumbing/object: add WalkCommitHistoryPost func | ||||
| * | plumbing/object: add WalkCommitHistoryPost func | Daniel Martí | 2017-03-27 | 2 | -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 Stringer | Máximo Cuadros | 2017-03-22 | 2 | -0/+17 |
| | | |||||
* | | Merge pull request #296 from ajnavarro/improvement/repository | Santiago M. Mola | 2017-03-21 | 11 | -43/+426 |
|\ \ | | | | | | | git: Repository methods changes | ||||
| * | | Make referenceFilteredIter private | Antonio Jesus Navarro Perez | 2017-03-06 | 1 | -5/+5 |
| | | | |||||
| * | | git: Repository methods changes | Antonio Jesus Navarro Perez | 2017-03-06 | 11 | -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.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 |
| |/ |