summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJob van der Voort <job@gitlab.com>2015-09-12 12:59:57 +0000
committerJob van der Voort <job@gitlab.com>2015-09-12 12:59:57 +0000
commitd6697bbd94fd74a246753da0f03b19af2dd4694f (patch)
tree98680e0f91ec37c488f58c21c260619f4232762f
parent5fcfba2780a9e5410b0a617aac67c0c45d944053 (diff)
parent001738e992515400453abd7575493e382e5d1e0f (diff)
downloadgitlab-ce-d6697bbd94fd74a246753da0f03b19af2dd4694f.tar.gz
Merge branch 'improve-error-message' into 'master'
Improve english of error message See merge request !1284
-rw-r--r--app/services/files/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/files/create_service.rb b/app/services/files/create_service.rb
index 91d715b2d63..c2da0c30bad 100644
--- a/app/services/files/create_service.rb
+++ b/app/services/files/create_service.rb
@@ -22,7 +22,7 @@ module Files
blob = repository.blob_at_branch(@current_branch, @file_path)
if blob
- raise_error("Your changes could not be committed, because file with such name exists")
+ raise_error("Your changes could not be committed because a file with the same name already exists")
end
end
end