Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | format/diff: unified diff encoder and public API | Antonio Jesus Navarro Perez | 2017-05-23 | 7 | -0/+316 |
| | | | | | | | | | - Added Patch interface - Added a Unified Diff encoder from Patches - Added Change method to generate Patches - Added Changes method to generate Patches - Added Tree method to generate Patches - Added Commit method to generate Patches | ||||
* | worktree: Commit, tests improvements | Máximo Cuadros | 2017-05-04 | 1 | -2/+2 |
| | |||||
* | plumbing: MemoryObject.Writer tracks his own size | Máximo Cuadros | 2017-05-04 | 4 | -30/+35 |
| | |||||
* | plumbing: object.Tree making public `tree` and `parents` | Máximo Cuadros | 2017-05-01 | 2 | -17/+19 |
| | |||||
* | object: avoid unreachable code | Santiago M. Mola | 2017-04-26 | 1 | -4/+1 |
| | |||||
* | fix format string issues as found by go vet | Santiago M. Mola | 2017-04-26 | 1 | -4/+5 |
| | |||||
* | worktree, reset implementation and status improvements | Máximo Cuadros | 2017-04-12 | 1 | -1/+1 |
| | |||||
* | merkletrie: filesystem and index speedup and documentation | Máximo Cuadros | 2017-04-11 | 1 | -18/+11 |
| | |||||
* | merge, Repository.Log | Máximo Cuadros | 2017-04-11 | 4 | -116/+138 |
|\ | |||||
| * | Add Repository.Log() method (fix #298) | Antonio Jesus Navarro Perez | 2017-04-11 | 4 | -116/+138 |
| | | | | | | | | | | | | | | | | | | | | - 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: object, public Tree.FindEntry and minor diff changes | Máximo Cuadros | 2017-04-11 | 4 | -8/+17 |
|/ | |||||
* | 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. | ||||
* | Work around a Go bug when parsing timezones | Nick Thomas | 2017-03-30 | 1 | -1/+6 |
| | |||||
* | 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/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. | ||||
* | project: move imports from srcd.works to gopkg.in | Antonio Jesus Navarro Perez | 2017-03-07 | 20 | -63/+63 |
| | | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release. | ||||
* | 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. | ||||
* | replace os.FileMode use with filemode.FileMode | Alberto Cortés | 2017-03-01 | 10 | -250/+214 |
| | |||||
* | 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 | -0/+1478 |
| | | | | | - To avoid ciclic dependency errors, we move all the difftree files to object package. - Added Diff method to Tree object. | ||||
* | difftree: ignore permissions changes between regular files | Alberto Cortés | 2017-02-22 | 1 | -5/+6 |
| | | | | Fix issue #279. | ||||
* | *: update tests to meet new submodule fixture | Máximo Cuadros | 2017-02-21 | 2 | -4/+6 |
| | |||||
* | documentation and API improvements | Máximo Cuadros | 2017-02-21 | 2 | -2/+7 |
| | |||||
* | plumbing/object: allow TreeIter return SubModule entries | Máximo Cuadros | 2017-02-13 | 4 | -6/+65 |
| | |||||
* | doc: improve object.Tag godoc. | Santiago M. Mola | 2017-02-08 | 1 | -3/+7 |
| | |||||
* | doc: add godoc to Signature | Santiago M. Mola | 2017-02-07 | 1 | -3/+6 |
| | |||||
* | doc: improve godoc for WalkCommitHistory. | Santiago M. Mola | 2017-02-07 | 1 | -1/+5 |
| | |||||
* | doc: add object fields godoc | Santiago M. Mola | 2017-02-07 | 4 | -6/+21 |
| | |||||
* | doc: improve object iterators godoc. | Santiago M. Mola | 2017-02-07 | 6 | -27/+38 |
| | |||||
* | doc: improve docs for object package. | Santiago M. Mola | 2017-02-06 | 2 | -3/+7 |
| | | | | | | | | * add package description. * add godoc to DecodeBlob. * clarify godoc for Object and Blob. | ||||
* | new srcd.works/go-git.v4 path | Máximo Cuadros | 2017-01-30 | 13 | -31/+31 |
| | |||||
* | new git fixture path | Máximo Cuadros | 2017-01-30 | 4 | -4/+4 |
| | |||||
* | Fix some typos in plumbing docs (#244) | Sergio Arbeo | 2017-01-30 | 4 | -9/+9 |
| | |||||
* | Worktree correct FileMode at index entries | Máximo Cuadros | 2017-01-30 | 1 | -11/+11 |
| | |||||
* | object: modes in TreeEntry as os.FileMode, and not the git internal | Máximo Cuadros | 2017-01-28 | 2 | -147/+155 |
| | |||||
* | adds Tree method to Tree (#224) | Alberto Cortés | 2017-01-26 | 2 | -5/+57 |
| | | | | | | | | This patch adds a new method to the Tree object that allows you to get a child tree from a parent tree by its relative name. Before this patch, this was only possible with files, using the File method. The new Tree method has a similar signature to the old File method for consistency. | ||||
* | plumbing: fix signature with `>` before `<` parsing (#204) | Máximo Cuadros | 2017-01-09 | 2 | -2/+16 |
| | |||||
* | Improve Tag test coverage. (#188) | Antonio Navarro Perez | 2016-12-15 | 2 | -9/+109 |
| | |||||
* | move plumbing from top level package to plumbing (#183) | Santiago M. Mola | 2016-12-14 | 14 | -0/+3886 |
* plumbing: rename Object -> EncodedObject. * plumbing/storer: rename ObjectStorer -> EncodedObjectStorer. * move difftree to plumbing/difftree. * move diff -> utils/diff * make Object/Tag/Blob/Tree/Commit/File depend on storer. * Object and its implementations now depend only on storer.EncodedObjectStorer, not git.Repository. * Tests are decoupled accordingly. * move Object/Commit/File/Tag/Tree to plumbing/object. * move Object/Commit/File/Tag/Tree to plumbing/object. * move checkClose to utils/ioutil. * move RevListObjects to plumbing/revlist.Objects. * move DiffTree to plumbing/difftree package. * rename files with plural nouns to singular * plumbing/object: add GetBlob/GetCommit/GetTag/GetTree. |