[PR #1077] [MERGED] Comment force push detect to fix bug #1073 #15752

Closed
opened 2025-11-02 11:53:46 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1077
Author: @lunny
Created: 2/27/2017
Status: Merged
Merged: 3/1/2017
Merged by: @lunny

Base: masterHead: lunny/bug_fix_push


📝 Commits (3)

📊 Changes

1 file changed (+41 additions, -18 deletions)

View changed files

📝 cmd/hook.go (+41 -18)

📄 Description

Just comment all the force push detect since protected branch force push has not been implemented. And this will fix #1073 when push a new repository.


🔄 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/1077 **Author:** [@lunny](https://github.com/lunny) **Created:** 2/27/2017 **Status:** ✅ Merged **Merged:** 3/1/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `lunny/bug_fix_push` --- ### 📝 Commits (3) - [`9600976`](https://github.com/go-gitea/gitea/commit/9600976e74628f3f168e146fc198980ce59e8775) umcomment force push detect to fix bug #1073 - [`c8f9e87`](https://github.com/go-gitea/gitea/commit/c8f9e874c9b986776b73472d456e230d3a366669) fix #1086 - [`d3e00b8`](https://github.com/go-gitea/gitea/commit/d3e00b811c5f9b442f88055cc6778cdc0ec04997) handle global config set and fix #1086 ### 📊 Changes **1 file changed** (+41 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `cmd/hook.go` (+41 -18) </details> ### 📄 Description Just comment all the force push detect since protected branch force push has not been implemented. And this will fix #1073 when push a new repository. --- <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 11:53:47 -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#15752