We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b46f9a8 commit 2baeddaCopy full SHA for 2baedda
src/repository.cpp
@@ -72,9 +72,8 @@ Repository::Repository(const Rules::Repository &rule)
72
branches.insert(branchRule.name, branch);
73
}
74
75
- // create the default branch if no branches were manually specified
76
- if (rule.branches.length() == 0)
77
- branches["master"].created = 1;
+ // create the default branch
+ branches["master"].created = 1;
78
79
fastImport.setWorkingDirectory(name);
80
if (!CommandLineParser::instance()->contains("dry-run")) {
0 commit comments