]> andersk Git - svn-all-fast-export.git/blobdiff - src/repository.cpp
Prepend refs/heads/ to the origin branch too
[svn-all-fast-export.git] / src / repository.cpp
index 3bbbe7ec012c74cd0cdf459b9024c2f6f525d03d..b85988514307596d0fa76e923d2152a3b0ca4299 100644 (file)
@@ -25,6 +25,8 @@ Repository::Repository(const Rules::Repository &rule)
     foreach (Rules::Repository::Branch branchRule, rule.branches) {
         Branch branch;
         branch.branchFrom = branchRule.branchFrom;
+        if (!branch.branchFrom.startsWith("refs/heads/"))
+            branch.branchFrom.prepend("refs/heads/");
         branch.isCreated = false;
 
         branches.insert(branchRule.name, branch);
This page took 0.027354 seconds and 4 git commands to generate.