mirror of
https://gitee.com/gitea/gitea
synced 2025-11-04 00:20:25 +08:00
#1900 last updatede time not update after push
This commit is contained in:
@@ -338,11 +338,9 @@ func CommitRepoAction(
|
||||
}
|
||||
|
||||
// Change repository bare status and update last updated time.
|
||||
if repo.IsBare {
|
||||
repo.IsBare = false
|
||||
if err = UpdateRepository(repo, false); err != nil {
|
||||
return fmt.Errorf("UpdateRepository: %v", err)
|
||||
}
|
||||
repo.IsBare = false
|
||||
if err = UpdateRepository(repo, false); err != nil {
|
||||
return fmt.Errorf("UpdateRepository: %v", err)
|
||||
}
|
||||
|
||||
isNewBranch := false
|
||||
|
||||
Reference in New Issue
Block a user