summaryrefslogtreecommitdiff
path: root/lib/gitlab/git_post_receive.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/git_post_receive.rb')
-rw-r--r--lib/gitlab/git_post_receive.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git_post_receive.rb b/lib/gitlab/git_post_receive.rb
index e731e654f3c..f5470ffa2da 100644
--- a/lib/gitlab/git_post_receive.rb
+++ b/lib/gitlab/git_post_receive.rb
@@ -11,7 +11,7 @@ module Gitlab
@changes = deserialize_changes(changes)
end
- def identify(revision)
+ def identify(revision = nil)
super(identifier, project, revision)
end