mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-12 22:24:12 +03:00
6cc02cdfd4
Backport #28276
The git command may operate the git directory (add/remove) files in any
time.
So when the code iterates the directory, some files may disappear during
the "walk". All "IsNotExist" errors should be ignored.
(cherry picked from commit
|
||
---|---|---|
.. | ||
branch.go | ||
collaborator.go | ||
collaborator_test.go | ||
commits.go | ||
commits_test.go | ||
create.go | ||
create_test.go | ||
delete.go | ||
env.go | ||
fork.go | ||
generate.go | ||
generate_test.go | ||
hooks.go | ||
init.go | ||
init_test.go | ||
license.go | ||
license_test.go | ||
main_test.go | ||
push.go | ||
repo.go | ||
temp.go |