summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-09-29 11:09:22 -0400
committerJames Moger <james.moger@gitblit.com>2011-09-29 11:09:22 -0400
commit4838c534a2f29109e7e5bcf8bad074fd4fa17f6d (patch)
tree37261a2af6ddf36954dab4c89990cad32f4bcc30 /src/com
parentc7ebb2407112b8137e2cd7c108dd13957b4cff1e (diff)
downloadgitblit-4838c534a2f29109e7e5bcf8bad074fd4fa17f6d.tar.gz
gitblit-4838c534a2f29109e7e5bcf8bad074fd4fa17f6d.zip
Set default federation strategy in model (issue 20)
Diffstat (limited to 'src/com')
-rw-r--r--src/com/gitblit/models/RepositoryModel.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/gitblit/models/RepositoryModel.java b/src/com/gitblit/models/RepositoryModel.java
index 0f1a676b..e85fd6a5 100644
--- a/src/com/gitblit/models/RepositoryModel.java
+++ b/src/com/gitblit/models/RepositoryModel.java
@@ -63,7 +63,8 @@ public class RepositoryModel implements Serializable, Comparable<RepositoryModel
this.owner = owner;
this.lastChange = lastchange;
this.accessRestriction = AccessRestrictionType.NONE;
- federationSets = new ArrayList<String>();
+ this.federationSets = new ArrayList<String>();
+ this.federationStrategy = FederationStrategy.FEDERATE_THIS;
}
@Override