mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-25 12:00:01 +02:00
Need a field to specify if repository is bare
This commit is contained in:
parent
cd070b56d2
commit
e3f55ca0fb
3 changed files with 7 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue