Skip to content
Snippets Groups Projects
Commit 06bb7945 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch 'post_receive-spaces' into 'master'

Removes spaces in log messages.

refs:
- 6f7ccea6
- 7121a58e
- f54bf003

none of them seem to have added extra space deliberately (commit message is about something else)

## Why was this MR needed?

The spaces caused confusion when trying to analyze the logs, there was no space in user name, but log message indicated there was.

See merge request !7223
parents acc2714a e8e0461e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -16,7 +16,7 @@ class PostReceive
post_received = Gitlab::GitPostReceive.new(repo_path, identifier, changes)
 
if post_received.project.nil?
log("Triggered hook for non-existing project with full path \"#{repo_path} \"")
log("Triggered hook for non-existing project with full path \"#{repo_path}\"")
return false
end
 
Loading
Loading
@@ -25,7 +25,7 @@ class PostReceive
elsif post_received.regular_project?
process_project_changes(post_received)
else
log("Triggered hook for unidentifiable repository type with full path \"#{repo_path} \"")
log("Triggered hook for unidentifiable repository type with full path \"#{repo_path}\"")
false
end
end
Loading
Loading
@@ -37,7 +37,7 @@ class PostReceive
@user ||= post_received.identify(newrev)
 
unless @user
log("Triggered hook for non-existing user \"#{post_received.identifier} \"")
log("Triggered hook for non-existing user \"#{post_received.identifier}\"")
return false
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment