Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: multiple values in RemoteConfig (URLs and Fetch) | Santiago M. Mola | 2017-08-01 | 2 | -4/+4 |
| | | | | | | | | * Change `URL string` to `URL []string` in `RemoteConfig`, since git allows multiple URLs per remote. See: http://marc.info/?l=git&m=116231242118202&w=2 * Fix marshalling of multiple fetch refspecs. | ||||
* | filesystem: reuse cache for packfile iterator | Santiago M. Mola | 2017-07-27 | 1 | -3/+4 |
| | |||||
* | plumbing/cache: change FIFO to LRU cache | Santiago M. Mola | 2017-07-27 | 1 | -1/+1 |
| | |||||
* | storage/filesystem: reuse delta cache | Santiago M. Mola | 2017-07-27 | 1 | -1/+9 |
| | | | | | Reuse delta base object cache for packfile decoders across multiple instances. | ||||
* | packfile: create packfile.Index and reuse it | Santiago M. Mola | 2017-07-26 | 2 | -45/+26 |
| | | | | | | | | | | | | | | | There was an internal type (i.e. storage/filesystem.idx) to use as in-memory index for packfiles. This was not convenient to reuse in the packfile. This commit creates a new representation (format/packfile.Index) that can be converted to and from idxfile.Idxfile. A packfile.Index now contains the functionality that was scattered on storage/filesystem.idx and packfile.Decoder's internals. storage/filesystem now reuses packfile.Index instances and this also results in higher cache hit ratios when resolving deltas. | ||||
* | Merge pull request #491 from smola/error-checks | Máximo Cuadros | 2017-07-19 | 9 | -26/+96 |
|\ | | | | | *: add more IO error checks | ||||
| * | storage/filesystem: check all Close errors | Santiago M. Mola | 2017-07-19 | 5 | -24/+32 |
| | | |||||
| * | test: add more PackfileWriter tests | Santiago M. Mola | 2017-07-19 | 4 | -2/+64 |
| | | |||||
* | | storage: dotgit, fix test not closing files | Máximo Cuadros | 2017-07-19 | 2 | -0/+2 |
| | | |||||
* | | storage: dotgit, close temp file before rename | Máximo Cuadros | 2017-07-18 | 1 | -6/+9 |
|/ | |||||
* | Fixed modules directory path | Cromel-PC\Cromel | 2017-06-28 | 2 | -2/+2 |
| | |||||
* | fix race on packfile writer | Santiago M. Mola | 2017-06-27 | 1 | -1/+1 |
| | |||||
* | storage/filesystem: Fix nil dereference in Shallow() | JP Sugarbroad | 2017-06-23 | 1 | -1/+1 |
| | | | This code crashes if the shallow file doesn't exist. | ||||
* | internal/dotgit: rewrite code to avoid stackoverflow errors | Antonio Jesus Navarro Perez | 2017-06-19 | 1 | -6/+6 |
| | |||||
* | fix merge commit | Máximo Cuadros | 2017-06-18 | 1 | -4/+0 |
| | |||||
* | *: upgrade to go-billy.v3, merge | Máximo Cuadros | 2017-06-18 | 1 | -0/+4 |
|\ | |||||
| * | Merge pull request #369 from smola/windows | Máximo Cuadros | 2017-06-17 | 2 | -11/+10 |
| |\ | | | | | | | Windows support | ||||
| | * | dotgit: support reading reference files in Windows | Santiago M. Mola | 2017-06-02 | 1 | -9/+8 |
| | | | |||||
| | * | test: more Windows path handling | Santiago M. Mola | 2017-06-02 | 1 | -2/+2 |
| | | | |||||
* | | | *: upgrade to go-billy.v3, merge | Máximo Cuadros | 2017-06-18 | 9 | -38/+43 |
|/ / | |||||
* | | fix gofmt | Santiago M. Mola | 2017-06-13 | 1 | -2/+2 |
| | | |||||
* | | storage/filesystem: call initialization explicitely, fixes #408 | Santiago M. Mola | 2017-06-01 | 3 | -15/+16 |
|/ | | | | | | | | | | | | | filesystem.Storage was initializing the gitdir (creating objects and refs) on NewStorage. But this should be done only on init and clone operations, not on open. Now there is a new interface storer.Initializer that storers can implement if they need any initialization step before init or clone. filesystem.Storage is one of such implementations. git.Init and git.Clone now call to the storer Init() method if it does implement it. Otherwise, it just ignores initialization. | ||||
* | storage: filesystem, initialize the default folder scaffolding | Máximo Cuadros | 2017-05-21 | 4 | -0/+66 |
| | |||||
* | worktree: reset and checkout support for submodules | Máximo Cuadros | 2017-04-15 | 1 | -1/+1 |
| | |||||
* | Lazily load object index. | JP Sugarbroad | 2017-04-06 | 1 | -6/+22 |
| | | | | fixes #327 | ||||
* | use go-billy.v2 version | Antonio Jesus Navarro Perez | 2017-03-10 | 8 | -9/+9 |
| | |||||
* | project: move imports from srcd.works to gopkg.in | Antonio Jesus Navarro Perez | 2017-03-07 | 18 | -54/+54 |
| | | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release. | ||||
* | documentation and API improvements | Máximo Cuadros | 2017-02-21 | 6 | -19/+225 |
| | |||||
* | Repository.Init now handles non-standard .git location | Máximo Cuadros | 2017-02-13 | 2 | -0/+18 |
| | |||||
* | storage: git.Storer move to storage.Storer and module handling | Máximo Cuadros | 2017-02-12 | 6 | -4/+74 |
| | |||||
* | Fix missing objects if they where deltified using ref-delta | Antonio Jesus Navarro Perez | 2017-02-07 | 1 | -3/+6 |
| | | | | | - 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. | ||||
* | new srcd.works/go-git.v4 path | Máximo Cuadros | 2017-01-30 | 15 | -36/+36 |
| | |||||
* | new git fixture path | Máximo Cuadros | 2017-01-30 | 4 | -4/+4 |
| | |||||
* | rename billy imports | Máximo Cuadros | 2017-01-30 | 4 | -12/+8 |
| | |||||
* | example: using new constructors | Máximo Cuadros | 2017-01-30 | 1 | -93/+11 |
|\ | |||||
| * | config: documentation improvements | Máximo Cuadros | 2017-01-30 | 1 | -2/+1 |
| | | |||||
| * | config: marshal and unmarshal implementation | Máximo Cuadros | 2017-01-26 | 1 | -93/+12 |
| | | |||||
* | | storage: IndexStorer implementation | Máximo Cuadros | 2017-01-29 | 3 | -1/+54 |
| | | |||||
* | | storage: IndexStorer implementation | Máximo Cuadros | 2017-01-28 | 6 | -10/+88 |
|/ | |||||
* | packfile/decoder: speed up packfile iterator when specific type (#200) | Antonio Navarro Perez | 2017-01-12 | 2 | -27/+70 |
| | |||||
* | Extract billy (#173) | Sergio Arbeo | 2016-12-19 | 8 | -26/+34 |
| | | | | | | | | | | | | | | | * 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 | ||||
* | storage: shallow storage (#180) | Máximo Cuadros | 2016-12-15 | 6 | -1/+171 |
| | | | | | | | | * storage: shallow storage * changes * changes | ||||
* | move plumbing from top level package to plumbing (#183) | Santiago M. Mola | 2016-12-14 | 4 | -77/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | config: Config, bare flag (#177) | Máximo Cuadros | 2016-12-12 | 2 | -16/+41 |
| | | | | | | | | * config.Config: bare flag * changes * changes | ||||
* | revision based on goreportcard.com | Máximo Cuadros | 2016-12-06 | 2 | -0/+2 |
| | |||||
* | storage: filesystem, clean close when the packfile is not used (#140) | Máximo Cuadros | 2016-11-28 | 2 | -14/+65 |
| | |||||
* | transport: create Client interface (#132) | Santiago M. Mola | 2016-11-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | * plumbing: move plumbing/client package to plumbing/transport. * transport: create Client interface. * A Client can instantiate any client transport service. * InstallProtocol installs a Client for a given protocol, instead of just a UploadPackService. * A Client can open a session for fetch-pack or send-pack for a specific Endpoint. * Adapt ssh and http clients to the new client interface. * updated doc | ||||
* | new plumbing package (#118) | Máximo Cuadros | 2016-11-08 | 9 | -212/+216 |
| | | | * plumbing: now core was renamed to core, and formats and clients moved inside | ||||
* | global storage interface refactor (#112) | Máximo Cuadros | 2016-11-07 | 10 | -376/+209 |
| | | | | | | | | | | | * core: ObjectStorage, ReferenceStorage renamed to ObjectStorer and ReferenceStorer * rebase * general, changes request by @alcortes * general, changes request by @alcortes | ||||
* | storage: filesystem fix tests | Máximo Cuadros | 2016-11-04 | 1 | -1/+1 |
| |