Feature #34942

Support for Git repositories with default branch "main"

Added by Go MAEDA 7 months ago. Updated 7 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:SCM
Target version:4.2.0
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".

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

Associated revisions

Revision 20851
Added by Go MAEDA 7 months ago

Support for Git repositories with default branch "main" (#34942).

Patch by Go MAEDA.

History

#1 Updated by Go MAEDA 7 months ago

  • Target version set to 4.2.0

#2 Updated by Go MAEDA 7 months ago

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

Committed the patch.

Also available in: Atom PDF