Browse Source

add alias in repo setting

tags/v1.22.1.3
chenyifan01 4 years ago
parent
commit
413f17b899
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/setting.go

+ 1
- 0
routers/repo/setting.go View File

@@ -98,6 +98,7 @@ func SettingsPost(ctx *context.Context, form auth.RepoSettingForm) {
repo.Description = form.Description
repo.Website = form.Website
repo.IsTemplate = form.Template
repo.Alias = form.Alias

// Visibility of forked repository is forced sync with base repository.
if repo.IsFork {


Loading…
Cancel
Save