summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-09-17 14:44:24 +0100
committerNick Thomas <nick@gitlab.com>2018-09-17 14:44:24 +0100
commitf54cada7b7e574f0dcd4997ee4d9256f6e5d8529 (patch)
treec997c0a14fe200b71001fa347ae926336514c4a9 /lib
parente35fc8b9299e7bd257e00601f206e2670c559651 (diff)
downloadgitlab-ce-f54cada7b7e574f0dcd4997ee4d9256f6e5d8529.tar.gz
Remove Gitlab::Git::Repository#user_to_committer
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/git/repository.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index 1b8d320ff3b..61786f1d896 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -581,10 +581,6 @@ module Gitlab
end
end
- def user_to_committer(user)
- Gitlab::Git.committer_hash(email: user.email, name: user.name)
- end
-
# Delete the specified branch from the repository
def delete_branch(branch_name)
wrapped_gitaly_errors do