Commit 64edb27aa95cef237564b2f6dad38ba6208f3745
1 parent
31239d11
Exists in
master
and in
4 other branches
Extend Gitlab#default_regex. Dont allow project path ends with .git
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
app/views/projects/edit.html.haml
... | ... | @@ -144,7 +144,9 @@ |
144 | 144 | %span Path |
145 | 145 | .controls |
146 | 146 | .control-group |
147 | - = f.text_field :path | |
147 | + .input-append | |
148 | + = f.text_field :path | |
149 | + %span.add-on .git | |
148 | 150 | %ul |
149 | 151 | %li Be careful. Renaming a project's repository can have unintended side effects. |
150 | 152 | %li You will need to update your local repositories to point to the new location. | ... | ... |