[PR #2130] [MERGED] Create new branch from branch selection dropdown #16248

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2130
Author: @lafriks
Created: 7/9/2017
Status: Merged
Merged: 10/15/2017
Merged by: @lafriks

Base: masterHead: feature/create_new_branch


📝 Commits (4)

  • 571cba5 Create new branch from branch selection dropdown and rewrite it to VueJS
  • b4cca45 Make updateLocalCopyToCommit as not exported
  • caccfb4 Move branch name validation to model
  • 3d0a597 Fix possible race condition

📊 Changes

14 files changed (+641 additions, -69 deletions)

View changed files

integrations/repo_branch_test.go (+132 -0)
📝 models/error.go (+45 -0)
📝 models/repo.go (+0 -35)
📝 models/repo_branch.go (+133 -0)
modules/auth/repo_branch_form.go (+20 -0)
📝 modules/context/repo.go (+6 -0)
📝 modules/validation/binding.go (+9 -3)
📝 options/locale/locale_en-US.ini (+6 -0)
📝 public/css/index.css (+1 -1)
📝 public/js/index.js (+193 -12)
📝 public/less/_base.less (+4 -0)
📝 routers/repo/branch.go (+49 -0)
📝 routers/routes/routes.go (+4 -0)
📝 templates/repo/branch_dropdown.tmpl (+39 -18)

📄 Description

Also fix Branches and Tags tab alignment in branch selection select box

Screenshot:
attels


🔄 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/2130 **Author:** [@lafriks](https://github.com/lafriks) **Created:** 7/9/2017 **Status:** ✅ Merged **Merged:** 10/15/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `feature/create_new_branch` --- ### 📝 Commits (4) - [`571cba5`](https://github.com/go-gitea/gitea/commit/571cba52904a4cec2a2e7711208fe3b1bcaffeb7) Create new branch from branch selection dropdown and rewrite it to VueJS - [`b4cca45`](https://github.com/go-gitea/gitea/commit/b4cca4559169390eb59bfaec5d8c0c3a3537505e) Make updateLocalCopyToCommit as not exported - [`caccfb4`](https://github.com/go-gitea/gitea/commit/caccfb47047174866c9cf4d3bda4e9eaa268e373) Move branch name validation to model - [`3d0a597`](https://github.com/go-gitea/gitea/commit/3d0a597c0bee364b1b4d2d4d86d38d8865837112) Fix possible race condition ### 📊 Changes **14 files changed** (+641 additions, -69 deletions) <details> <summary>View changed files</summary> ➕ `integrations/repo_branch_test.go` (+132 -0) 📝 `models/error.go` (+45 -0) 📝 `models/repo.go` (+0 -35) 📝 `models/repo_branch.go` (+133 -0) ➕ `modules/auth/repo_branch_form.go` (+20 -0) 📝 `modules/context/repo.go` (+6 -0) 📝 `modules/validation/binding.go` (+9 -3) 📝 `options/locale/locale_en-US.ini` (+6 -0) 📝 `public/css/index.css` (+1 -1) 📝 `public/js/index.js` (+193 -12) 📝 `public/less/_base.less` (+4 -0) 📝 `routers/repo/branch.go` (+49 -0) 📝 `routers/routes/routes.go` (+4 -0) 📝 `templates/repo/branch_dropdown.tmpl` (+39 -18) </details> ### 📄 Description Also fix Branches and Tags tab alignment in branch selection select box Screenshot: ![attels](https://user-images.githubusercontent.com/165205/27993268-80716e8e-64af-11e7-8082-1ceba9a9944e.png) --- <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:05: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#16248