summaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-10 22:03:31 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-10 22:03:31 -0400
commit306aa5bffe7868207ed7b773c1aedbf3f0a659ad (patch)
treea72a835c64833b31b2195585d018a03433917266 /models/repo.go
parent8980675a9f8f8328a81dde63174115c4a11f02a3 (diff)
downloadgitea-306aa5bffe7868207ed7b773c1aedbf3f0a659ad.tar.gz
gitea-306aa5bffe7868207ed7b773c1aedbf3f0a659ad.zip
Add support default branch
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/repo.go b/models/repo.go
index 573e0f4e6f..91dc710281 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -80,6 +80,7 @@ type Repository struct {
IsPrivate bool
IsBare bool
IsGoget bool
+ DefaultBranch string
Created time.Time `xorm:"created"`
Updated time.Time `xorm:"updated"`
}