aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/repository.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 8f64c28..44ec629 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -72,9 +72,8 @@ Repository::Repository(const Rules::Repository &rule)
branches.insert(branchRule.name, branch);
}
- // create the default branch if no branches were manually specified
- if (rule.branches.length() == 0)
- branches["master"].created = 1;
+ // create the default branch
+ branches["master"].created = 1;
fastImport.setWorkingDirectory(name);
if (!CommandLineParser::instance()->contains("dry-run")) {