Project

General

Profile

Actions

Feature #34942

closed

Support for Git repositories with default branch "main"

Added by Go MAEDA almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
SCM
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Since GitHub renamed the default branch name from "master" to "main" in 2020, more and more Git repositories in the world have the default branch of “main” instead of “master”. However, Redmine does not recognize "main" branch as the default branch.
https://github.com/github/renaming

After applying the attached patch, "main" will be recognized as the default branch in addition to "master".


Files

support-git-main-branch.patch (2.55 KB) support-git-main-branch.patch Go MAEDA, 2021-03-20 06:30
Actions #1

Updated by Go MAEDA almost 3 years ago

  • Target version set to 4.2.0
Actions #2

Updated by Go MAEDA almost 3 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch.

Actions

Also available in: Atom PDF