From 3766262eabdb129373668f630721c7270467d608 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 11 Nov 2019 13:37:40 +0000 Subject: change git_webhooks hashes from 8 characters to 7 --- modules/git_webhooks/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/git_webhooks/github.py') diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py index fc25f0f8..a95be555 100644 --- a/modules/git_webhooks/github.py +++ b/modules/git_webhooks/github.py @@ -193,7 +193,7 @@ class GitHub(object): return self._change_count(n, "~", utils.consts.PURPLE) def _short_hash(self, hash): - return hash[:8] + return hash[:7] def _flat_unique(self, commits, key): return set(itertools.chain(*(commit[key] for commit in commits))) -- cgit v1.3.1-10-gc9f91