mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00: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