[F3] mirroring a repository needs --mirror instead of --bare
This commit is contained in:
parent
af8c9de89f
commit
9941131920
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ func (o *RepositoryProvider) Get(ctx context.Context, user *User, project *Proje
|
|||
Name: exemplar.Name,
|
||||
FetchFunc: func(destination string) {
|
||||
o.g.GetLogger().Debug("RepositoryProvider:Get: git clone %s %s", repoPath, destination)
|
||||
util.Command(ctx, "git", "clone", "--bare", repoPath, destination)
|
||||
util.Command(ctx, "git", "clone", "--mirror", repoPath, destination)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue