Skip to content

Capitalization discarded on push-to-create #29073

Closed
@RGBCube

Description

@RGBCube

Description

I have enabled repository.ENABLE_PUSH_CREATE_USER and created a repo after pushing, my remotes are:

Test on  master took 2s
❯ git remote --verbose

origin  ssh://forgejo@rgbcu.be:2222/RGBCube/TestTwo (fetch)
origin  ssh://forgejo@rgbcu.be:2222/RGBCube/TestTwo (push)

But the repo created on my instance is named testtwo. Somewhere Gitea is lowercasing the repo name for case insensitiveness which is nice, but I'd like it to be preserved when push-to-create-ing for the first time.

Gitea Version

1.21.5

Can you reproduce the bug on the Gitea demo site?

Yes

Screenshots

image

How are you running Gitea?

NixOS module, irrelevant.

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions