aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing objects if they where deltified using ref-deltaAntonio Jesus Navarro Perez2017-02-073-10/+71
| | | | | - 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.
* removing import enforcementMáximo Cuadros2017-02-031-1/+1
|
* Fix compile-time error on Windows (#251)Mateusz Byczkowski2017-02-023-17/+19
| | | | | | syscall.Stat_t it not defined on Windows platform, and hence go-git won't compile on Windows. It's better to pass more generic output of FileInfo `Sys()` (of type interface{}) to `fillSystemInfo` and handle type assertion separately for each platform.
* examples: aerospike example (#250)Máximo Cuadros2017-02-023-2/+109
|
* Update README.mdMáximo Cuadros2017-02-011-1/+1
|
* removing import rule, to try to get godoc runningv4.0.0-rc9Máximo Cuadros2017-02-011-1/+1
|
* fix example folderMáximo Cuadros2017-02-0111-16/+16
|
* documentation changesMáximo Cuadros2017-01-3123-82/+169
|
* Updated README.md (Fixes #243)Máximo Cuadros2017-01-311-7/+33
|
* fix worktree at non linux osMáximo Cuadros2017-01-313-7/+44
|
* config: RefSpec.Validate returning errors and doc (Fixes #232)Máximo Cuadros2017-01-315-31/+56
|
* skip ssh testMáximo Cuadros2017-01-311-2/+4
|
* fix travisv4.0.0-rc8Máximo Cuadros2017-01-311-2/+2
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-30182-441/+441
|
* new git fixture pathMáximo Cuadros2017-01-3030-341/+29
|
* rename billy importsMáximo Cuadros2017-01-3016-472/+39
|
* delete old noder, create a new one in utils (#241)Alberto Cortés2017-01-3020-1004/+1466
|
* Fix some typos in plumbing docs (#244)Sergio Arbeo2017-01-3016-32/+32
|
* Merge pull request #229 from mcuadros/worktreeMáximo Cuadros2017-01-3031-345/+1320
|\ | | | | Worktree and new Repository Contructors
| * example: using new constructorsMáximo Cuadros2017-01-3016-179/+489
| |\ | |/ |/|
* | Repository.Progress moved as a field in *Options (#237)Máximo Cuadros2017-01-308-62/+87
| |
* | Typo in fixtures (#240)Sergio Arbeo2017-01-301-1/+1
| |
* | Fix typos in git docs (#230)Sergio Arbeo2017-01-302-10/+10
| |
* | Fix typos in cache pkg (#235)Sergio Arbeo2017-01-301-2/+2
| |
* | Fix typos in config pkg (#233)Sergio Arbeo2017-01-302-3/+3
| |
* | config: fix TestUnmarshallMarshall testMáximo Cuadros2017-01-301-4/+1
| |
* | Merge pull request #227 from mcuadros/submodulesMáximo Cuadros2017-01-305-98/+389
|\ \ | | | | | | config: marshal and unmarshal done inside of the package, and submodules config file
| * | config: documentation improvementsMáximo Cuadros2017-01-304-34/+45
| | |
| * | config: modules, marshal and unmarshal implementationMáximo Cuadros2017-01-262-20/+160
| | |
| * | config: marshal and unmarshal implementationMáximo Cuadros2017-01-263-95/+169
| | |
| * | config: git modules configMáximo Cuadros2017-01-262-0/+66
| | |
| | * test and comments improvementsMáximo Cuadros2017-01-303-5/+10
| | |
| | * Worktree correct FileMode at index entriesMáximo Cuadros2017-01-303-16/+33
| | |
| | * Repository.Worktree, removing custom fsMáximo Cuadros2017-01-302-19/+6
| | |
| | * Repository.Clone made privateMáximo Cuadros2017-01-293-22/+20
| | |
| | * example: using new constructorsMáximo Cuadros2017-01-299-40/+73
| | |
| | * worktree, status implementationMáximo Cuadros2017-01-295-10/+380
| | |
| | * storage: IndexStorer implementationMáximo Cuadros2017-01-294-1/+55
| | |
| | * object: modes in TreeEntry as os.FileMode, and not the git internalMáximo Cuadros2017-01-282-147/+155
| | |
| | * format/index: keep time.Time as zero, when decoded value is 0Máximo Cuadros2017-01-282-6/+12
| | |
| | * storage: IndexStorer implementationMáximo Cuadros2017-01-286-10/+88
| | |
| | * new repository constructors and worktreeMáximo Cuadros2017-01-288-113/+535
| |/ |/|
* | adds Tree method to Tree (#224)Alberto Cortés2017-01-262-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 Perez2017-01-255-8/+248
| | | | | * 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 Perez2017-01-257-8/+32
|
* fixtures: support more than one source folder (fix #217) (#219)Antonio Navarro Perez2017-01-231-7/+18
| | | | | GOPATH can contain more than one folder separated by ':'. To check it correctly, we use SrcDirs() method to be able to check into all the source folders if fixtures exists.
* fixtures: initialize fixtures into separated methods (#214)v4.0.0-rc7Antonio Navarro Perez2017-01-191-5/+19
| | | | | To be able to use fixtures with other test frameworks than go-check, we created two methods, one to set fixtures path correctly, and another to remove all the temporal data created when testing.
* blame: make line and its members public so they can be actually used (#213)Alberto Cortés2017-01-192-14/+15
|
* test: restore default protocol. (#215)Santiago M. Mola2017-01-181-3/+15
| | | | | | BaseSuite sets the https protocol to nil. This can affect other unrelated suites. This commit changes BaseSuite to restore the https protocol during the tear down phase.
* transport: remove SetAuth, fixes #206 (#210)Anthony Weems2017-01-1722-127/+116
| | | | | * remove SetAuth functions, implement at NewUploadPackSession/NewReceivePackSession level. * propagate transport.Auth from Fetch/Pull/Clone options to the transport API.