Make repo sync git fetch authenticated (#7139)
This commit is contained in:
parent
c2d728ecd3
commit
cff5dec2ce
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ func (g *gitExecuter) CurrentBranch() (string, error) {
|
|||
|
||||
func (g *gitExecuter) Fetch(remote, ref string) error {
|
||||
args := []string{"fetch", "-q", remote, ref}
|
||||
cmd, err := g.client.Command(context.Background(), args...)
|
||||
cmd, err := g.client.AuthenticatedCommand(context.Background(), args...)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue