aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks/gitlab.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git_webhooks/gitlab.py')
-rw-r--r--modules/git_webhooks/gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/gitlab.py b/modules/git_webhooks/gitlab.py
index fca8fcf3..9f481384 100644
--- a/modules/git_webhooks/gitlab.py
+++ b/modules/git_webhooks/gitlab.py
@@ -111,7 +111,7 @@ class GitLab(object):
return self.tag_push(full_name, data)
def _short_hash(self, hash):
- return hash[:8]
+ return hash[:7]
def tag_push(self, full_name, data):
create = not data["after"].strip("0") == ""