Skip to content

gitea ignoring config init.templateDir #21643

Closed
@Shakthijuego

Description

@Shakthijuego

Description

We have used git config init.templateDir to set up default hooks for gitea in the older versions (Unfortunately cannot recall the exact version - mostly gitea-1.15.x).
The hooks specified in this folder are used to automatically merge with .git/hooks/pre-receive.d/
Now it's not working.
Please let me know if you have alternatives.

Gitea Version

gitea-1.17.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.34.1

Operating System

ubuntu

How are you running Gitea?

Running from systemd

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions