Skip to content

Replace spaces with hyphens when creating a new branch from web

What does this MR do?

Replaces spaces with hyphens when creating new branch from the web UI. When trying to create a new branch named Foo Bar, this is replaced to the valid name Foo-Bar. This avoids error messages, and makes UX more fluid.

Why was this MR needed?

Right now, when creating a branch named Foo Bar, an error Branch name invalid is shown.

What are the relevant issue numbers / Feature requests?

#3293 (closed)

Merge request reports