[PR #2798] [MERGED] Improve force push detect when push #16597

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2798
Author: @lunny
Created: 10/28/2017
Status: Merged
Merged: 10/28/2017
Merged by: @lafriks

Base: masterHead: lunny/improve_force_push_check


📝 Commits (2)

  • 9b08f21 improve force push detect when push
  • bc56cc9 Merge branch 'master' into lunny/improve_force_push_check

📊 Changes

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

View changed files

📝 cmd/hook.go (+1 -1)

📄 Description

This PR add --maxcount=1 on git rev-list... to improve the performance when force push many commits.


🔄 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/2798 **Author:** [@lunny](https://github.com/lunny) **Created:** 10/28/2017 **Status:** ✅ Merged **Merged:** 10/28/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `lunny/improve_force_push_check` --- ### 📝 Commits (2) - [`9b08f21`](https://github.com/go-gitea/gitea/commit/9b08f21d4ac0aef276fb4c881b9cd138f227b972) improve force push detect when push - [`bc56cc9`](https://github.com/go-gitea/gitea/commit/bc56cc98f73c92ec987074124b620404e6aad351) Merge branch 'master' into lunny/improve_force_push_check ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/hook.go` (+1 -1) </details> ### 📄 Description This PR add `--maxcount=1` on `git rev-list`... to improve the performance when force push many commits. --- <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:14:18 -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#16597