Closed
Description
- Gitea version (or commit ref): 1.11.1
- Git version: 2.23.1
- Operating system: NixOS
- Database: shouldn't matter, if so, please write
- Can you reproduce the bug at https://try.gitea.io:
- Yes (POC can be found here)
- No
- Not relevant
Description
So I tried out the new template feature and found out, that when using templates, submodules do not get "inherited".
Reproduction
- Create a repo A that should be used as a template
- Mark the repo A as a template in the repos settings
- Create a repo B using the repo A as a submodule:
git submodule add <repo A>
- Create a repo C using B as a template. My result is that C does not contains the submodule A.