[PR #641] [CLOSED] Improve the performance of pull-request merging #15506

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/641
Author: @typeless
Created: 1/11/2017
Status: Closed

Base: masterHead: speedup-pr-merge


📝 Commits (2)

  • 8179ef8 Speedup pull-request mergeing
  • c5babc2 Add a straightforward benchmark

📊 Changes

5 files changed (+105 additions, -56 deletions)

View changed files

📝 integrations/editor_test.go (+4 -8)
📝 integrations/pull_create_test.go (+2 -2)
📝 integrations/pull_merge_test.go (+21 -3)
📝 integrations/repo_fork_test.go (+1 -1)
📝 models/pull.go (+77 -42)

📄 Description

Merging pull-request without checking out a working tree

Inspired by this.

For #601


🔄 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/641 **Author:** [@typeless](https://github.com/typeless) **Created:** 1/11/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `speedup-pr-merge` --- ### 📝 Commits (2) - [`8179ef8`](https://github.com/go-gitea/gitea/commit/8179ef8d7a821f9f43365d2a9736642cc480d7ab) Speedup pull-request mergeing - [`c5babc2`](https://github.com/go-gitea/gitea/commit/c5babc247ef0ec6b3135e5a69282e2c5ec7b397d) Add a straightforward benchmark ### 📊 Changes **5 files changed** (+105 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `integrations/editor_test.go` (+4 -8) 📝 `integrations/pull_create_test.go` (+2 -2) 📝 `integrations/pull_merge_test.go` (+21 -3) 📝 `integrations/repo_fork_test.go` (+1 -1) 📝 `models/pull.go` (+77 -42) </details> ### 📄 Description Merging pull-request without checking out a working tree Inspired by [this](http://stackoverflow.com/a/10706075/3848102). For #601 --- <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:48:08 -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#15506