Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | documentation and API improvements | Máximo Cuadros | 2017-02-21 | 8 | -593/+262 |
| | |||||
* | format/index: sort the Entries before encode | Máximo Cuadros | 2017-02-13 | 3 | -4/+28 |
| | |||||
* | plumbing/object: allow TreeIter return SubModule entries | Máximo Cuadros | 2017-02-13 | 4 | -6/+65 |
| | |||||
* | Merge pull request #258 from ajnavarro/fix/onf-decoder | Antonio Navarro Perez | 2017-02-09 | 2 | -7/+65 |
|\ | | | | | Fix missing objects if they where deltified using ref-delta | ||||
| * | Fix missing objects if they where deltified using ref-delta | Antonio Jesus Navarro Perez | 2017-02-07 | 2 | -7/+65 |
| | | | | | | | | | | - Deleted invalid logic that returned nil if an ref-delta was not found into the decoder index. This logic was missing objects if it was deltified using ref-deltas. - Now, to avoid that problem, index is mandatory to decode correctly a packfile of a specific type. Decoder.SetOffsets method now is called into the EncodedObjectIterator to avoid this problem. | ||||
* | | Merge pull request #259 from smola/docs | Máximo Cuadros | 2017-02-08 | 7 | -42/+83 |
|\ \ | | | | | | | Improve documentation | ||||
| * | | 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. | ||||
* | | package plumbing documentation improvements (#248) | Máximo Cuadros | 2017-02-07 | 20 | -834/+637 |
| | | |||||
* | | Add revision implementation (#139) | Anthony HAMON | 2017-02-06 | 1 | -0/+11 |
|/ | |||||
* | documentation changes | Máximo Cuadros | 2017-01-31 | 4 | -6/+6 |
| | |||||
* | new srcd.works/go-git.v4 path | Máximo Cuadros | 2017-01-30 | 115 | -257/+257 |
| | |||||
* | new git fixture path | Máximo Cuadros | 2017-01-30 | 19 | -19/+19 |
| | |||||
* | rename billy imports | Máximo Cuadros | 2017-01-30 | 2 | -5/+5 |
| | |||||
* | delete old noder, create a new one in utils (#241) | Alberto Cortés | 2017-01-30 | 9 | -1004/+0 |
| | |||||
* | Fix some typos in plumbing docs (#244) | Sergio Arbeo | 2017-01-30 | 16 | -32/+32 |
| | |||||
* | example: using new constructors | Máximo Cuadros | 2017-01-30 | 2 | -7/+7 |
|\ | |||||
| * | Repository.Progress moved as a field in *Options (#237) | Máximo Cuadros | 2017-01-30 | 2 | -7/+7 |
| | | |||||
* | | 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 |
| | | |||||
* | | format/index: keep time.Time as zero, when decoded value is 0 | Máximo Cuadros | 2017-01-28 | 2 | -6/+12 |
| | | |||||
* | | new repository constructors and worktree | Máximo Cuadros | 2017-01-28 | 1 | -1/+2 |
|/ | |||||
* | 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. | ||||
* | packfile: cache undeltified objects to improve decode performance (#218) | Antonio Navarro Perez | 2017-01-25 | 1 | -8/+33 |
| | | | | | * Simple object cache that keeps in memory the last undeltified objects. When no more objects can be kept into memory, the oldest one is deleted (FIFO). This speeds up packfile operations preventing redundant seeks and decodes. | ||||
* | transport/http: fix partial request with haves. Fix #216. (#221) | Antonio Navarro Perez | 2017-01-25 | 7 | -8/+32 |
| | |||||
* | transport: remove SetAuth, fixes #206 (#210) | Anthony Weems | 2017-01-17 | 19 | -120/+101 |
| | | | | | * remove SetAuth functions, implement at NewUploadPackSession/NewReceivePackSession level. * propagate transport.Auth from Fetch/Pull/Clone options to the transport API. | ||||
* | packfile/decoder: speed up packfile iterator when specific type (#200) | Antonio Navarro Perez | 2017-01-12 | 2 | -1/+134 |
| | |||||
* | packfile/scanner: reset zlib reader instead of new one (#201) | Antonio Navarro Perez | 2017-01-12 | 1 | -5/+20 |
| | |||||
* | plumbing: fix signature with `>` before `<` parsing (#204) | Máximo Cuadros | 2017-01-09 | 2 | -2/+16 |
| | |||||
* | server: add git server implementation (#190) | Santiago M. Mola | 2017-01-04 | 38 | -275/+1502 |
| | | | | | | | | | | | | | | | * server: add generic server implementation (transport-independent), both for git-upload-pack and git-receive-pack. * server: move internal functions to internal/common. * cli: add git-receive-pack and git-upload-pack implementations. * format/packfile: add UpdateObjectStorage function, extracted from Remote. * transport: implement tranport RPC-like, only with git-upload-pack and git-receive-pack methods. Client renamed to Transport. * storer: add storer.Storer interface. * protocol/packp: add UploadPackResponse constructor with packfile. * protocol/packp: fix UploadPackResponse encoding, add tests. * protocol/packp/capability: implement All. | ||||
* | remote: add Push (#178) | Santiago M. Mola | 2016-12-19 | 4 | -25/+80 |
| | | | | | | | | | | | | * remote: add Push. * add Push method to Remote. * add method Push to Repository. * examples: add push example. * requested changes * add tests, fixes | ||||
* | fix typo in docs for plumbing/difftree/internal/merkletrie/iter.go (#192) | Miguel Molina | 2016-12-19 | 1 | -1/+1 |
| | |||||
* | fix plumbing/difftree package name (#191)v4.0.0-rc6 | Santiago M. Mola | 2016-12-19 | 2 | -2/+2 |
| | |||||
* | Extract billy (#173) | Sergio Arbeo | 2016-12-19 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | * Extract billy Billy is a new library directly extracted from go-git. It abstract several storages systems in a filesystem interface. More in github.com/src-d/billy * Fix grouping in imports block * Update billy to v1 * Re-remove fs_implementation example | ||||
* | packfile: delta selection logic (#182) | Antonio Navarro Perez | 2016-12-16 | 10 | -112/+474 |
| | | | | | | | | | | * packfile: delta selection logic - Implemented logic to assign deltas to objects * Requested changes * Improved tests and fix errors | ||||
* | Improve Tag test coverage. (#188) | Antonio Navarro Perez | 2016-12-15 | 2 | -9/+109 |
| | |||||
* | storage: shallow storage (#180) | Máximo Cuadros | 2016-12-15 | 1 | -0/+10 |
| | | | | | | | | * storage: shallow storage * changes * changes | ||||
* | transport: ssh, keeping the original path (#189) | Máximo Cuadros | 2016-12-15 | 1 | -4/+1 |
| | |||||
* | protocol/packp: use ReferenceName type for Command.Name. (#187) | Santiago M. Mola | 2016-12-15 | 4 | -24/+27 |
| | |||||
* | move plumbing from top level package to plumbing (#183) | Santiago M. Mola | 2016-12-14 | 38 | -137/+5996 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | packfile: improve delta copy operation encoding code (#186) | Antonio Navarro Perez | 2016-12-14 | 1 | -31/+13 |
| | |||||
* | format/packfile: implement delta encoding (#172) | Antonio Navarro Perez | 2016-12-14 | 5 | -25/+322 |
| | | | | | | | | | | | | * format/packfile: implement delta encoding - Added all the logic to the encoder to be able to encode ref-delta and offset-delta objects - Created plumbing.ObjectToPack to handle deltas and standard objects when we are writting them into a packfile - Added specific encoder delta tests, one standard object and one delta, and one standard object and two deltas * Requested changes. * Requested changes | ||||
* | transport/git: fix pktline encode and timeout | Máximo Cuadros | 2016-12-12 | 1 | -8/+3 |
| | |||||
* | plumbing/transport/git: fix import (#179) | Santiago M. Mola | 2016-12-12 | 1 | -1/+1 |
| | |||||
* | transport: new git protocol (#175) | Máximo Cuadros | 2016-12-12 | 9 | -37/+260 |
| | |||||
* | packfile: delta diff implementation (#159) | Antonio Navarro Perez | 2016-12-09 | 4 | -0/+637 |
| | | | | | | | | | | * packfile: delta diff implementation - Renamed delta.go to patch_delta.go - Added diff_delta.go file - Added tests that creates a diff and then tries to patch it * Requested changes |