Skip to content

Commit d257d0e

Browse files
committed
Initialize branches specified in the create repository ruleset.
Otherwise, what's the point of that directive. Sometimes repository does not start from the master branch.
1 parent 97a6dc9 commit d257d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/repository.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Repository::Repository(const Rules::Repository &rule)
6767
{
6868
foreach (Rules::Repository::Branch branchRule, rule.branches) {
6969
Branch branch;
70-
branch.created = 0; // not created
70+
branch.created = 1;
7171

7272
branches.insert(branchRule.name, branch);
7373
}

0 commit comments

Comments
 (0)