aboutsummaryrefslogtreecommitdiffstats
path: root/config/refspec_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Add more unit tests for RefSpecAlan Cabrera2018-03-141-0/+13
| | | | | | Need this to get better code coverage of the bug fix. Signed-off-by: Alan Cabrera <adc@toolazydogs.com>
* Fix RefSpec.Src()Alan Cabrera2018-03-141-0/+6
| | | | | | | | | Previously, the Src() function was assuming there are no “+” characters in the refspec src and erroneously used the strings.Index() function to compute the start index of src in the refspec. This change now uses the IsForceUpdate() method to decide how to elide the force update token. Signed-off-by: Alan Cabrera <adc@toolazydogs.com>
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-1/+1
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* config: RefSpec.Validate returning errors and doc (Fixes #232)Máximo Cuadros2017-01-311-7/+10
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-1/+1
|
* config: support delete refspecs (IsDelete). (#166)Santiago M. Mola2016-12-081-1/+28
|
* new plumbing package (#118)Máximo Cuadros2016-11-081-10/+10
| | | * plumbing: now core was renamed to core, and formats and clients moved inside
* Remote.Fetch multiple RefSpec supportMáximo Cuadros2016-08-221-0/+10
|
* Remote.Fetch base on RefSpec, improvement of the responsabilities separationMáximo Cuadros2016-08-191-0/+69