Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wiki default branch name is "master" and is not configurable #28685

Closed
na-Itms opened this issue Jan 3, 2024 · 2 comments · Fixed by #29603
Closed

wiki default branch name is "master" and is not configurable #28685

na-Itms opened this issue Jan 3, 2024 · 2 comments · Fixed by #29603
Labels

Comments

@na-Itms
Copy link

na-Itms commented Jan 3, 2024

Description

Hello,
When creating a new repository and creating its wiki from the web interface, the wiki repository's default branch is "master". This cannot be seen on the web interface, but it appears when cloning the wiki.

This is reproducible on the test instance, see for instance https://try.gitea.io/na-Itms/wikibranchname.wiki.git

This is surprising and inconsistent with git's defaults, as well as gitea's own default for repository.DEFAULT_BRANCH (#19354).

I assume the default should be main, and this should be configurable either with a configuration key (repository.DEFAULT_WIKI_BRANCH maybe?), or in the repository's settings on the web interface.

Gitea Version

1.22.0+dev-511-g657b23d63

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

I am using try.gitea.io to demonstrate the issue. I am personally running the latest release of gitea on Ubuntu, installed from binary.

Database

MySQL/MariaDB

@Arduhat

This comment was marked as resolved.

@techknowlogick

This comment was marked as resolved.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants