Skip to content

When using templates, submodules do not get "inherited" #10316

Closed
@HanEmile

Description

@HanEmile
  • 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

  1. Create a repo A that should be used as a template
  2. Mark the repo A as a template in the repos settings
  3. Create a repo B using the repo A as a submodule: git submodule add <repo A>
  4. Create a repo C using B as a template. My result is that C does not contains the submodule A.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions