aboutsummaryrefslogtreecommitdiffstats
path: root/src/repository.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/repository.cpp')
-rw-r--r--src/repository.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 08a5306..1a422f8 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -24,9 +24,6 @@ Repository::Repository(const Rules::Repository &rule)
{
foreach (Rules::Repository::Branch branchRule, rule.branches) {
Branch branch;
- branch.branchFrom = branchRule.branchFrom;
- if (!branch.branchFrom.startsWith("refs/"))
- branch.branchFrom.prepend("refs/heads/");
branch.isCreated = false;
branches.insert(branchRule.name, branch);
@@ -204,7 +201,6 @@ void Repository::Transaction::commit()
Branch &br = repository->branches[branch];
if (!br.isCreated) {
br.isCreated = true;
- s << "from " << br.branchFrom << endl;
}
s << "data " << message.length() << endl;