Unable to use pre defined git hooks #8901

Closed
opened 2025-11-02 08:22:34 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @FKouhai on GitHub (May 3, 2022).

Description

Hi,

We have several git hooks for our repositories, they are split into 11 githooks, and gitea seems either unable to find them or unable to use them, Ive tried running the the pre receive resynchronization, and when we try to push a commit the repo rejects the refs, when I go to the repo settings and check the git hooks im only able to see the 3 default git hooks, pre, post and update, is there a way gitea is able to use the git hooks we already had?

Kind regards

Gitea Version

1.16.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

gitea binary
OS -> SLE12SP1

Database

MySQL

Originally created by @FKouhai on GitHub (May 3, 2022). ### Description Hi, We have several git hooks for our repositories, they are split into 11 githooks, and gitea seems either unable to find them or unable to use them, Ive tried running the the pre receive resynchronization, and when we try to push a commit the repo rejects the refs, when I go to the repo settings and check the git hooks im only able to see the 3 default git hooks, pre, post and update, is there a way gitea is able to use the git hooks we already had? Kind regards ### Gitea Version 1.16.5 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? gitea binary OS -> SLE12SP1 ### Database MySQL
GiteaMirror added the issue/needs-feedback label 2025-11-02 08:22:34 -06:00
Author
Owner

@lunny commented on GitHub (Mar 7, 2024):

What did you mean 11 githooks? Did you mean you have 11 git hooks but the UI can only edit 1 for pre receive, update and post receive?

@lunny commented on GitHub (Mar 7, 2024): What did you mean `11 githooks`? Did you mean you have 11 git hooks but the UI can only edit 1 for pre receive, update and post receive?
Author
Owner

@GiteaBot commented on GitHub (Apr 6, 2024):

We close issues that need feedback from the author if there were no new comments for a month. 🍵

@GiteaBot commented on GitHub (Apr 6, 2024): We close issues that need feedback from the author if there were no new comments for a month. :tea:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8901