#8 skip path if branch exists #12

Merged
vtolstov merged 90 commits from kgorbunov/pkgdash:master into master 2024-04-03 08:28:17 +03:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 99c9442cda - Show all commits

View File

@ -119,7 +119,7 @@ func (g *Gitea) RequestOpen(ctx context.Context, branch string, path string, mod
if err != nil {
break
}
if strings.Contains(ref.Name().String(), branch) { //todo вот тут возможно нужно переделать
if ref.Name().Short() == branch { //todo вот тут возможно нужно переделать
headRef = ref
break
}