mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-02 22:57:50 +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