Skip to content

Commit

Permalink
Support projects within (sub-)groups on GitLab
Browse files Browse the repository at this point in the history
Fixes #30.
  • Loading branch information
muesli committed Dec 30, 2021
1 parent 3f73ba0 commit 07ce85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,6 @@ func parseRepo(arg string) (string, string, string, error) {
return "", "", "", fmt.Errorf("does not look like a valid path or URL")
}

host, owner, name := p[2], p[3], p[4]
host, owner, name := p[2], p[3], strings.Join(p[4:], "/")
return host, owner, name, nil
}

0 comments on commit 07ce85a

Please sign in to comment.