fix: restrict pulling to specific branch

This commit is contained in:
decentral1se 2023-02-02 21:12:50 +01:00
parent 7c541ffdfa
commit 29fa607190
Signed by untrusted user: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 1 additions and 0 deletions

View File

@ -632,6 +632,7 @@ func EnsureUpToDate(recipeName string) error {
opts := &git.PullOptions{
Force: true,
ReferenceName: branch,
SingleBranch: true,
}
if err := worktree.Pull(opts); err != nil {