Skip to content

Allow push to init a wiki repo - #1279

Merged
lunny merged 2 commits into
go-gitea:masterfrom
lunny:lunny/fix_wiki_push_u
Mar 17, 2017
Merged

Allow push to init a wiki repo#1279
lunny merged 2 commits into
go-gitea:masterfrom
lunny:lunny/fix_wiki_push_u

Conversation

@lunny

@lunny lunny commented Mar 16, 2017

Copy link
Copy Markdown
Member

resolved #1278

@lunny lunny added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Mar 16, 2017
@lunny lunny added this to the 1.2.0 milestone Mar 16, 2017
Comment thread cmd/serv.go Outdated

if isWiki {
err = repo.InitWiki()
if err != nil {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if err := repo.InitWiki(); err != nil {
....
}

more readable?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also a good idea to contain them (not that it matters here, but it's good practice)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@bkcsoft

bkcsoft commented Mar 16, 2017

Copy link
Copy Markdown
Contributor

Other than that comment, LGTM

@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Mar 16, 2017
@strk

strk commented Mar 16, 2017

Copy link
Copy Markdown
Member

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 16, 2017
@lunny

lunny commented Mar 17, 2017

Copy link
Copy Markdown
Member Author

let L-G-T-M work

@lunny
lunny merged commit ebbcf6f into go-gitea:master Mar 17, 2017
@lunny
lunny deleted the lunny/fix_wiki_push_u branch March 17, 2017 04:59
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/feature Completely new functionality. Can only be merged if feature freeze is not active.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot push a wiki when there is not any wiki page.

5 participants