aboutsummaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* config: support a configurable, and turn-off-able, pack.windowJeremy Stribling2017-09-112-0/+47
| | | | | | | | | | | | | | | | | | | | One use of go-git is to transfer git data from a non-standard git repo (not stored in a file system, for example) to a "remote" backed by a standard, local .git repo. In this scenario, delta compression is not needed to reduce transfer time over the "network", because there is no network. The underlying storage layer has already taken care of the data tranfer, and sending the objects to local .git storage doesn't require compression. So this PR gives the user the option to turn off compression when it isn't needed. Of course, this results in a larger, uncompressed local .git repo, but the user can then run git gc or git repack on that repo if they care about the storage costs. Turning the pack window to 0 on reduces total push time of a 36K repo by 50 seconds (out of a pre-PR total of 3m26s).
* serialized remotes in alphabetical orderManuel Carmona2017-08-102-4/+12
|
* config: preserve option order on config marshallingSantiago M. Mola2017-08-012-12/+28
| | | | | Do not change order of options (e.g. in RemoteConfig) when serializing for any option whose value has not changed.
* config: multiple values in RemoteConfig (URLs and Fetch)Santiago M. Mola2017-08-012-10/+40
| | | | | | | | * 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.
* Export raw config.JP Sugarbroad2017-04-061-14/+14
|
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-074-4/+4
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* documentation and API improvementsMáximo Cuadros2017-02-213-24/+25
|
* config: added Config.SubmodulesMáximo Cuadros2017-02-143-12/+58
|
* config: adding Config.Core.WorktreeMáximo Cuadros2017-02-132-0/+34
|
* config: RefSpec.Validate returning errors and doc (Fixes #232)Máximo Cuadros2017-01-313-21/+47
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-304-4/+4
|
* rename billy importsMáximo Cuadros2017-01-301-1/+1
|
* Fix typos in config pkg (#233)Sergio Arbeo2017-01-302-3/+3
|
* config: fix TestUnmarshallMarshall testMáximo Cuadros2017-01-301-4/+1
|
* config: documentation improvementsMáximo Cuadros2017-01-303-32/+44
|
* config: modules, marshal and unmarshal implementationMáximo Cuadros2017-01-262-20/+160
|
* config: marshal and unmarshal implementationMáximo Cuadros2017-01-262-2/+157
|
* config: git modules configMáximo Cuadros2017-01-262-0/+66
|
* remote: add Push (#178)Santiago M. Mola2016-12-191-3/+5
| | | | | | | | | | | | * remote: add Push. * add Push method to Remote. * add method Push to Repository. * examples: add push example. * requested changes * add tests, fixes
* config: Config, bare flag (#177)Máximo Cuadros2016-12-121-0/+3
| | | | | | | | * config.Config: bare flag * changes * changes
* config: support delete refspecs (IsDelete). (#166)Santiago M. Mola2016-12-082-1/+37
|
* new plumbing package (#118)Máximo Cuadros2016-11-082-19/+19
| | | * plumbing: now core was renamed to core, and formats and clients moved inside
* config: storer commentMáximo Cuadros2016-11-071-1/+1
|
* gofmt simplify (#111)ferhat elmas2016-11-071-3/+3
|
* global storage interface refactor (#112)Máximo Cuadros2016-11-072-5/+54
| | | | | | | | | | | * core: ObjectStorage, ReferenceStorage renamed to ObjectStorer and ReferenceStorer * rebase * general, changes request by @alcortes * general, changes request by @alcortes
* remote, fix fetch tagsMáximo Cuadros2016-10-271-3/+4
|
* doc packagesMáximo Cuadros2016-09-011-0/+1
|
* clients/ssh: test fixMáximo Cuadros2016-08-242-11/+0
|
* ForEach review and Commit.Tree err returnMáximo Cuadros2016-08-221-0/+31
|
* Remote.Fetch multiple RefSpec supportMáximo Cuadros2016-08-223-3/+56
|
* remote and repository base on ConfigStoreMáximo Cuadros2016-08-212-0/+5
|
* remote and repository base on ConfigStoreMáximo Cuadros2016-08-201-4/+10
|
* Remote.Fetch base on RefSpec, improvement of the responsabilities separationMáximo Cuadros2016-08-193-0/+192