summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/models/RepositoryModel.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2016-11-18 18:48:38 -0500
committerGitHub <noreply@github.com>2016-11-18 18:48:38 -0500
commit855a19a242d9ce0ebbbfe7baa120603d3c598f05 (patch)
treeaa160c8bdb2dc593af36c8646587b0c6544daf67 /src/main/java/com/gitblit/models/RepositoryModel.java
parente5068d689d47747778dcb7a6b967abbd600a30a4 (diff)
parent7f33a835295216210b7ca63367a460d76f9738d0 (diff)
downloadgitblit-wicket-7.tar.gz
gitblit-wicket-7.zip
Merge pull request #1153 from pingunaut/wicket-7wicket-7
Wicket Update and merge master
Diffstat (limited to 'src/main/java/com/gitblit/models/RepositoryModel.java')
-rw-r--r--src/main/java/com/gitblit/models/RepositoryModel.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/models/RepositoryModel.java b/src/main/java/com/gitblit/models/RepositoryModel.java
index a81c622a..67ee1c7e 100644
--- a/src/main/java/com/gitblit/models/RepositoryModel.java
+++ b/src/main/java/com/gitblit/models/RepositoryModel.java
@@ -28,6 +28,7 @@ import com.gitblit.Constants.AccessRestrictionType;
import com.gitblit.Constants.AuthorizationControl;
import com.gitblit.Constants.CommitMessageRenderer;
import com.gitblit.Constants.FederationStrategy;
+import com.gitblit.Constants.MergeType;
import com.gitblit.utils.ArrayUtils;
import com.gitblit.utils.ModelUtils;
import com.gitblit.utils.StringUtils;
@@ -89,6 +90,7 @@ public class RepositoryModel implements Serializable, Comparable<RepositoryModel
public boolean acceptNewTickets;
public boolean requireApproval;
public String mergeTo;
+ public MergeType mergeType;
public transient boolean isCollectingGarbage;
public Date lastGC;
@@ -111,6 +113,7 @@ public class RepositoryModel implements Serializable, Comparable<RepositoryModel
this.isBare = true;
this.acceptNewTickets = true;
this.acceptNewPatchsets = true;
+ this.mergeType = MergeType.DEFAULT_MERGE_TYPE;
addOwner(owner);
}