Commit 43f560b1 authored by Sytse Sijbrandij's avatar Sytse Sijbrandij

Add comments.

parent aa5e663f
...@@ -33,7 +33,7 @@ module Files ...@@ -33,7 +33,7 @@ module Files
if created_successfully if created_successfully
success success
else else
error("Your changes could not be committed. Maybe the file changed, or there was nothing to commit?") error("Your changes could not be committed. Maybe the file was changed by another process or there was nothing to commit?")
end end
end end
end end
......
...@@ -87,6 +87,8 @@ error message. Possible causes for a failed commit include: ...@@ -87,6 +87,8 @@ error message. Possible causes for a failed commit include:
user tried to make an empty commit; user tried to make an empty commit;
- the branch was updated by a Git push while the file edit was in progress. - the branch was updated by a Git push while the file edit was in progress.
Currently gitlab-shell has a boolean return code, preventing GitLab from specifying the error.
## Delete existing file in repository ## Delete existing file in repository
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment