[PR #3133] [MERGED] Fix new pull request link #16785

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3133
Author: @ethantkoenig
Created: 12/10/2017
Status: Merged
Merged: 12/13/2017
Merged by: @lunny

Base: masterHead: fix/pr_link


📝 Commits (3)

  • 26df5ca Fix new pull request link
  • 1fec1ac Only show button for branches
  • 19afce7 Merge branch 'master' into fix/pr_link

📊 Changes

2 files changed (+2 additions, -3 deletions)

View changed files

📝 modules/context/repo.go (+0 -1)
📝 templates/repo/home.tmpl (+2 -2)

📄 Description

Fixes #3131 and #3132. Now, clicking the "New request button" creates a pull request whose head is the currently-viewed branch (like Github does). The button is not shown when viewing a tag or commit.


🔄 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/3133 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 12/10/2017 **Status:** ✅ Merged **Merged:** 12/13/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/pr_link` --- ### 📝 Commits (3) - [`26df5ca`](https://github.com/go-gitea/gitea/commit/26df5cae5bbcf62e1754fc261f38ca461b367741) Fix new pull request link - [`1fec1ac`](https://github.com/go-gitea/gitea/commit/1fec1acc8f85b2064aaadd4a68eddedb0c17d34d) Only show button for branches - [`19afce7`](https://github.com/go-gitea/gitea/commit/19afce7a35409a6a032c946960ce9ae1356e1fde) Merge branch 'master' into fix/pr_link ### 📊 Changes **2 files changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `modules/context/repo.go` (+0 -1) 📝 `templates/repo/home.tmpl` (+2 -2) </details> ### 📄 Description Fixes #3131 and #3132. Now, clicking the "New request button" creates a pull request whose head is the currently-viewed branch (like Github does). The button is not shown when viewing a tag or commit. --- <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:19:04 -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#16785