Option to filter branches on Branch Protection and Default Branch #2221

Closed
opened 2025-11-02 04:28:08 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @webjoel on GitHub (Aug 20, 2018).

  • Gitea version (or commit ref): 1b2aff0
  • Git version: 2.7.3
  • Operating system: Linux Ubuntu 16.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Sugestion: Add in box branches switch an option for branches filter on: Repo > Settings > Branches: Default Branch and Branch Protection.

It's like Repo > Code and Repo > Pull Requests.

Screenshots

filter_one
filter_two
filter_three

Originally created by @webjoel on GitHub (Aug 20, 2018). - Gitea version (or commit ref): 1b2aff0 - Git version: 2.7.3 - Operating system: Linux Ubuntu 16.04 - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description Sugestion: Add in box branches switch an option for branches filter on: Repo > Settings > Branches: Default Branch and Branch Protection. It's like Repo > Code and Repo > Pull Requests. ## Screenshots ![filter_one](https://user-images.githubusercontent.com/1946348/44337859-7d399780-a452-11e8-94e6-2a34f1a9bf10.png) ![filter_two](https://user-images.githubusercontent.com/1946348/44337864-80cd1e80-a452-11e8-917c-83fba518477b.png) ![filter_three](https://user-images.githubusercontent.com/1946348/44337868-832f7880-a452-11e8-934d-268b13ab8165.png)
GiteaMirror added the issue/confirmedtype/enhancement labels 2025-11-02 04:28:08 -06:00
Author
Owner

@stale[bot] commented on GitHub (Jan 13, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 13, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@webjoel commented on GitHub (Jan 14, 2019):

My repo has many branches, filter is very important.

@webjoel commented on GitHub (Jan 14, 2019): My repo has many branches, filter is very important.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2221