Git hooks are not being executed on Windows when running as a service #435

Closed
opened 2025-11-02 03:23:22 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @andreynering on GitHub (Mar 7, 2017).

Similar to https://github.com/go-gitea/gitea/pull/736

When hooks call Gitea executable, it immediately stop because it conflicts with minwinsvc. If it's not running as service, it works normally.

Set env SKIP_MINWINSVC=1 should work.

Originally created by @andreynering on GitHub (Mar 7, 2017). Similar to https://github.com/go-gitea/gitea/pull/736 When hooks call Gitea executable, it immediately stop because it conflicts with minwinsvc. If it's not running as service, it works normally. Set env `SKIP_MINWINSVC=1` should work.
GiteaMirror added the type/bug label 2025-11-02 03:23:22 -06:00
Author
Owner

@lunny commented on GitHub (Mar 8, 2017):

Should this be put to v1.1? Maybe we can move this to 1.2? @andreynering

@lunny commented on GitHub (Mar 8, 2017): Should this be put to v1.1? Maybe we can move this to 1.2? @andreynering
Author
Owner

@andreynering commented on GitHub (Mar 8, 2017):

This was working before, I think we should really fix for v1.1

I'll try to fix later today, I think it's trivial.

Where are Git hooks located on source code and how can we update it on a migration?

@andreynering commented on GitHub (Mar 8, 2017): This was working before, I think we should really fix for v1.1 I'll try to fix later today, I think it's trivial. Where are Git hooks located on source code and how can we update it on a migration?
Author
Owner

@lunny commented on GitHub (Mar 8, 2017):

See this PR https://github.com/go-gitea/gitea/pull/1006. We will wait for this issue to release 1.1 .

@lunny commented on GitHub (Mar 8, 2017): See this PR https://github.com/go-gitea/gitea/pull/1006. We will wait for this issue to release 1.1 .
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#435