diff --git a/cmd/web.go b/cmd/web.go index 4f627d4d007b..279703baafd9 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -90,7 +90,7 @@ func checkVersion() { {"gopkg.in/ini.v1", ini.Version, "1.8.4"}, {"gopkg.in/macaron.v1", macaron.Version, "0.8.0"}, {"github.com/gogits/git-module", git.Version, "0.2.5"}, - {"github.com/gogits/go-gogs-client", gogs.Version, "0.7.2"}, + {"github.com/gogits/go-gogs-client", gogs.Version, "0.7.3"}, } for _, c := range checkers { if !version.Compare(c.Version(), c.Expected, ">=") { diff --git a/models/repo.go b/models/repo.go index fec007c9cce4..46b25a017fa5 100644 --- a/models/repo.go +++ b/models/repo.go @@ -415,6 +415,7 @@ func (repo *Repository) ComposePayload() *api.PayloadRepo { UserName: repo.MustOwner().Name, }, Private: repo.IsPrivate, + DefaultBranch: repo.DefaultBranch, } }