[PR #3368] [MERGED] Change how merged PR commit info are prepared #16908

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3368
Author: @lafriks
Created: 1/14/2018
Status: Merged
Merged: 1/19/2018
Merged by: @lafriks

Base: masterHead: feat/diff_pull_ref


📝 Commits (5)

  • 0d85181 Change how merged PR commits and diff are made
  • 78c27f9 Update code.gitea.io/git dependency
  • 139ad02 Fix typo
  • 13ccf16 Remove unneeded local variable
  • 9a872e9 Merge branch 'master' into feat/diff_pull_ref

📊 Changes

4 files changed (+47 additions, -64 deletions)

View changed files

📝 models/pull.go (+8 -3)
📝 routers/repo/pull.go (+32 -54)
📝 vendor/code.gitea.io/git/repo_commit.go (+4 -4)
📝 vendor/vendor.json (+3 -3)

📄 Description

Fixes PR commit and diff display if PR is merged with squash or rebase. Fixes #3222


🔄 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/3368 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 1/14/2018 **Status:** ✅ Merged **Merged:** 1/19/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `feat/diff_pull_ref` --- ### 📝 Commits (5) - [`0d85181`](https://github.com/go-gitea/gitea/commit/0d85181ae69fea5847c0f70879c61dd4f9f4c718) Change how merged PR commits and diff are made - [`78c27f9`](https://github.com/go-gitea/gitea/commit/78c27f9e3dd26e00882005f91a523e941b57573b) Update code.gitea.io/git dependency - [`139ad02`](https://github.com/go-gitea/gitea/commit/139ad021d14cb101edaf2e41b39fc22a16c64ecf) Fix typo - [`13ccf16`](https://github.com/go-gitea/gitea/commit/13ccf16e6e5c5fcd8806b6b96c213d7e732fd150) Remove unneeded local variable - [`9a872e9`](https://github.com/go-gitea/gitea/commit/9a872e949ee780f63d262ec07d42f8f869c7e525) Merge branch 'master' into feat/diff_pull_ref ### 📊 Changes **4 files changed** (+47 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `models/pull.go` (+8 -3) 📝 `routers/repo/pull.go` (+32 -54) 📝 `vendor/code.gitea.io/git/repo_commit.go` (+4 -4) 📝 `vendor/vendor.json` (+3 -3) </details> ### 📄 Description Fixes PR commit and diff display if PR is merged with squash or rebase. Fixes #3222 --- <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:21:53 -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#16908