mirror of
https://github.com/go-gitea/gitea
synced 2024-10-19 20:10:10 +02:00
add license to fork repo
This commit is contained in:
parent
c4c6da53c7
commit
0278775051
@ -82,6 +82,7 @@ func ForkRepository(ctx context.Context, doer, owner *user_model.User, opts Fork
|
||||
IsEmpty: opts.BaseRepo.IsEmpty,
|
||||
IsFork: true,
|
||||
ForkID: opts.BaseRepo.ID,
|
||||
Licenses: opts.BaseRepo.Licenses,
|
||||
}
|
||||
|
||||
oldRepoPath := opts.BaseRepo.RepoPath()
|
||||
|
Loading…
Reference in New Issue
Block a user