Skip to content
Snippets Groups Projects
Commit aeec708f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets Committed by Valery Sizov
Browse files

Revert "Fix adding new file to empty repo"


This reverts commit 27a15850.

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 3ffd6388
No related branches found
No related tags found
1 merge request!11457-13-5-stable candidate
Loading
@@ -42,7 +42,7 @@ module Files
Loading
@@ -42,7 +42,7 @@ module Files
params[:new_branch] params[:new_branch]
) )
else else
created_successfully = repository.commit_file( created_successfull = repository.commit_file(
current_user, current_user,
file_path, file_path,
params[:content], params[:content],
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment