aboutsummaryrefslogtreecommitdiffstats
path: root/config/refspec.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix RefSpec.Src()Alan Cabrera2018-03-141-1/+7
| | | | | | | | | 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>
* all: simplificationferhat elmas2017-11-291-11/+3
| | | | | | | | | | - no length for map initialization - don't check for boolean/error return - don't format string - use string method of bytes buffer instead of converting bytes to string - use `strings.Contains` instead of `strings.Index` - use `bytes.Equal` instead of `bytes.Compare`
* 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.
* documentation and API improvementsMáximo Cuadros2017-02-211-6/+6
|
* config: RefSpec.Validate returning errors and doc (Fixes #232)Máximo Cuadros2017-01-311-6/+16
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-1/+1
|
* config: support delete refspecs (IsDelete). (#166)Santiago M. Mola2016-12-081-0/+9
|
* new plumbing package (#118)Máximo Cuadros2016-11-081-9/+9
| | | * plumbing: now core was renamed to core, and formats and clients moved inside
* gofmt simplify (#111)ferhat elmas2016-11-071-3/+3
|
* remote, fix fetch tagsMáximo Cuadros2016-10-271-3/+4
|
* Remote.Fetch multiple RefSpec supportMáximo Cuadros2016-08-221-0/+11
|
* remote and repository base on ConfigStoreMáximo Cuadros2016-08-211-0/+4
|
* Remote.Fetch base on RefSpec, improvement of the responsabilities separationMáximo Cuadros2016-08-191-0/+110