Need a field to specify if repository is bare

This commit is contained in:
Unknown 2014-03-22 11:59:14 -04:00
parent cd070b56d2
commit e3f55ca0fb
3 changed files with 7 additions and 10 deletions

View file

@ -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