mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-31 21:28:11 +09:00
Need a field to specify if repository is bare
This commit is contained in:
@@ -87,6 +87,7 @@ func CommitRepoAction(userId int64, userName string,
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
repo.IsBare = false
|
||||
repo.Updated = time.Now()
|
||||
if err = UpdateRepository(repo); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user