6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-08 01:44:16 +00:00

Add test parallelization and re-enable paralleltest linter

This commit is contained in:
Grzegorz Dlugoszewski
2025-08-25 19:13:09 +02:00
parent eabef7b444
commit df6c239099
9 changed files with 50 additions and 3 deletions

View File

@@ -157,8 +157,7 @@ func (r *Repo) Branches() ([]string, error) {
func (r *Repo) Upstream(branch string) (string, error) {
out, err := run.Git("rev-parse", "--abbrev-ref", "--symbolic-full-name", branch+"@{upstream}").OnRepo(r.path).AndCaptureLine()
if err != nil {
// TODO: no upstream will also throw an error.
// lint:ignore nilerr fix when working on TODO
//nolint:nilerr // TODO: no upstream will also throw an error.
return "", nil
}