mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-16 12:41:03 +00:00
Backport #40376 by @bircni Plain repository creation marked a new repository as ready before its git data, hooks and initial commit existed, and auto-init cloned the new repository to build its initial commit on top of whatever it already contained. - Auto-init builds the initial commit in a freshly initialized temp repository instead of a clone - New repositories are inserted as being created and marked ready once initialized, as fork, template generation, adoption and migrations already do --------- Co-authored-by: bircni <bircni@icloud.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: silverwind <me@silverwind.io>