[PR #1965] [MERGED] Fix uppercase default branch bug #16146

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1965
Author: @ethantkoenig
Created: 6/13/2017
Status: Merged
Merged: 6/14/2017
Merged by: @lunny

Base: masterHead: fix/default_branch


📝 Commits (1)

  • 4807fbb Fix uppercase default branch bug

📊 Changes

4 files changed (+65 additions, -3 deletions)

View changed files

integrations/change_default_branch_test.go (+58 -0)
integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/DefaultBranch (+1 -0)
integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/develop (+1 -0)
📝 routers/repo/setting.go (+5 -3)

📄 Description

Fixes #1963. Also add an integration test.


🔄 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/1965 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 6/13/2017 **Status:** ✅ Merged **Merged:** 6/14/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix/default_branch` --- ### 📝 Commits (1) - [`4807fbb`](https://github.com/go-gitea/gitea/commit/4807fbbbea4aed5a2964f5db9cd7af209a07281f) Fix uppercase default branch bug ### 📊 Changes **4 files changed** (+65 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `integrations/change_default_branch_test.go` (+58 -0) ➕ `integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/DefaultBranch` (+1 -0) ➕ `integrations/gitea-integration-meta/gitea-repositories/user2/repo1.git/refs/heads/develop` (+1 -0) 📝 `routers/repo/setting.go` (+5 -3) </details> ### 📄 Description Fixes #1963. Also add an integration test. --- <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:03:20 -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#16146