This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/modules/repository
zeripath a20ccec369
Ensure that git daemon export ok is created for mirrors (#17243) (#17306)
Backport #17243

There is an issue with #16508 where it appears that create repo requires that the
repo does not exist. This causes #17241 where an error is reported because of this.

This PR fixes this and also runs update-server-info for mirrors and generated repos.

Fix #17241

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-10-14 18:07:53 +02:00
..
adopt.go Ensure that git daemon export ok is created for mirrors (#17243) (#17306) 2021-10-14 18:07:53 +02:00
archive.go Fix archive error when rename repo or user (#16399) 2021-07-13 14:16:31 +02:00
branch.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
cache.go Make commit info cancelable (#16032) 2021-06-06 19:44:58 -04:00
check.go Update repository size on cron gc task (#15177) 2021-03-28 05:56:28 +02:00
commits.go Report the correct number of pushes on the feeds (#16811) (#16822) 2021-08-26 02:30:13 -04:00
commits_test.go Implemented head_commit for webhooks (#16282) 2021-06-29 15:34:03 +02:00
create.go Ensure that git daemon export ok is created for mirrors (#17243) (#17306) 2021-10-14 18:07:53 +02:00
create_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
fork.go Ensure that git daemon export ok is created for mirrors (#17243) (#17306) 2021-10-14 18:07:53 +02:00
fork_test.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
generate.go Ensure that git daemon export ok is created for mirrors (#17243) (#17306) 2021-10-14 18:07:53 +02:00
hooks.go Set GIT_DIR correctly if it is not set (#15751) 2021-05-07 15:19:09 +02:00
init.go [API] Add pagination to ListBranches (#14524) 2021-02-03 20:06:13 +01:00
main_test.go Move push commits from models to modules/repository (#9370) 2020-01-10 17:34:21 +08:00
push.go Fix a bug on refactoring (#13373) 2020-10-31 23:42:54 +08:00
repo.go Ensure that git daemon export ok is created for mirrors (#17243) (#17306) 2021-10-14 18:07:53 +02:00
update.go Move PushUpdateAddDeleteTags to repository module from models (#10106) 2020-02-03 09:47:04 +01:00