[PR #2450] [MERGED] Disable custom Git Hooks globally via configuration file #16403

Closed
opened 2025-11-02 12:09:48 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2450
Author: @techknowlogick
Created: 9/2/2017
Status: Merged
Merged: 9/12/2017
Merged by: @lafriks

Base: masterHead: master


📝 Commits (2)

  • fda80b9 Create option to disable githooks globally via configuration file
  • 5d6100c Update comment in app.ini to align with @ethantkoenig's suggestion

📊 Changes

5 files changed (+9 additions, -2 deletions)

View changed files

📝 conf/app.ini (+2 -0)
📝 models/user.go (+1 -1)
📝 modules/setting/setting.go (+2 -0)
📝 modules/templates/helper.go (+3 -0)
📝 templates/admin/user/edit.tmpl (+1 -1)

📄 Description

Fixes #2449 by allowing the disabling of custom git hooks via configuration file


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2450 **Author:** [@techknowlogick](https://github.com/techknowlogick) **Created:** 9/2/2017 **Status:** ✅ Merged **Merged:** 9/12/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`fda80b9`](https://github.com/go-gitea/gitea/commit/fda80b9e56f2b6b962de8a13aa4928de2a765f9b) Create option to disable githooks globally via configuration file - [`5d6100c`](https://github.com/go-gitea/gitea/commit/5d6100c3db6d6a1351c3e87ab61799a29fdb96e8) Update comment in app.ini to align with @ethantkoenig's suggestion ### 📊 Changes **5 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `conf/app.ini` (+2 -0) 📝 `models/user.go` (+1 -1) 📝 `modules/setting/setting.go` (+2 -0) 📝 `modules/templates/helper.go` (+3 -0) 📝 `templates/admin/user/edit.tmpl` (+1 -1) </details> ### 📄 Description Fixes #2449 by allowing the disabling of custom git hooks via configuration file --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:09:48 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16403