aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/ls-remote/main.go
Commit message (Collapse)AuthorAgeFilesLines
* git: Add support to ls-remote with peeled references. Fixes #749Paulo Gomes2023-05-031-2/+12
| | | | | | | | | | | | | | | A new PeelingOption field was introduced into ListOptions. The new options include the default (and backwards compatible) IgnorePeeled. Plus another two variations which either only returns peeled references (OnlyPeeled), or append peeled references to the list (AppendPeeled). The ls-remote example was updated to align with upstream, in which peeled references are appended to the results by default. A new ErrEmptyUrls error is now returned when List or ListContext do not receive a URL to work with, to improve overall execution flow. Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-3/+3
|
* Fix typos in comments, variables and function namesOleksandr Redko2019-10-241-1/+1
| | | | Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
* git : allows to create a Remote without a RepositoryValentin Cocaud2019-06-171-0/+42
Signed-off-by: Valentin Cocaud <v.cocaud@gmail.com>