Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: RefSpec.IsExactSHA1, validates if the refspec describes an exact ↵ | Máximo Cuadros | 2020-05-10 | 1 | -2/+7 |
| | | | | SHA1 ref | ||||
* | *: migration from gopkg to go modules | Máximo Cuadros | 2020-03-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1165 from seletskiy/push-prune | Máximo Cuadros | 2019-07-26 | 1 | -0/+7 |
|\ | | | | | Remote: add Prune option to PushOptions | ||||
| * | add Prune option to PushOptions | Stanislav Seletskiy | 2019-07-25 | 1 | -0/+7 |
| | | | | | | | | Signed-off-by: Stanislav Seletskiy <s.seletskiy@gmail.com> | ||||
* | | config: added missing dot. | Vladimir Masarik | 2019-07-04 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Vladimir Masarik <masarik.vladimir7@gmail.com> | ||||
* | | fix wildcard handling in RefSpec matching | Mike Lundy | 2019-06-04 | 1 | -3/+3 |
|/ | | | | | | | | | | | 1) The guard logic here was inverted, resulting in an always-false branch, which meant that the suffix after the wildcard was incorrectly ignored. 2) Wildcards were treated as 1-or-more matches, but git treats them as 0-or-more. This change aligns go-git with git, but represents a bit of a breaking change for go-git. Signed-off-by: Mike Lundy <mike@fluffypenguin.org> | ||||
* | all: remove extra 's' in "mismatch" | Jongmin Kim | 2018-09-26 | 1 | -1/+1 |
| | | | | Signed-off-by: Jongmin Kim <jmkim@pukyong.ac.kr> | ||||
* | Fix RefSpec.Src() | Alan Cabrera | 2018-03-14 | 1 | -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: simplification | ferhat elmas | 2017-11-29 | 1 | -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.in | Antonio Jesus Navarro Perez | 2017-03-07 | 1 | -1/+1 |
| | | | | 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 | 1 | -6/+6 |
| | |||||
* | config: RefSpec.Validate returning errors and doc (Fixes #232) | Máximo Cuadros | 2017-01-31 | 1 | -6/+16 |
| | |||||
* | new srcd.works/go-git.v4 path | Máximo Cuadros | 2017-01-30 | 1 | -1/+1 |
| | |||||
* | config: support delete refspecs (IsDelete). (#166) | Santiago M. Mola | 2016-12-08 | 1 | -0/+9 |
| | |||||
* | new plumbing package (#118) | Máximo Cuadros | 2016-11-08 | 1 | -9/+9 |
| | | | * plumbing: now core was renamed to core, and formats and clients moved inside | ||||
* | gofmt simplify (#111) | ferhat elmas | 2016-11-07 | 1 | -3/+3 |
| | |||||
* | remote, fix fetch tags | Máximo Cuadros | 2016-10-27 | 1 | -3/+4 |
| | |||||
* | Remote.Fetch multiple RefSpec support | Máximo Cuadros | 2016-08-22 | 1 | -0/+11 |
| | |||||
* | remote and repository base on ConfigStore | Máximo Cuadros | 2016-08-21 | 1 | -0/+4 |
| | |||||
* | Remote.Fetch base on RefSpec, improvement of the responsabilities separation | Máximo Cuadros | 2016-08-19 | 1 | -0/+110 |