Add EMPTY_SHA const to zerver/lib/webhooks/git.py.

This commit is contained in:
Tomasz Kolek
2016-10-06 17:13:22 +02:00
committed by Tim Abbott
parent 89ef6c73d1
commit 312905007e

View File

@@ -3,6 +3,8 @@ from typing import Optional, Any
SUBJECT_WITH_BRANCH_TEMPLATE = u'{repo} / {branch}'
EMPTY_SHA = '0000000000000000000000000000000000000000'
PUSH_COMMITS_LIMIT = 10
PUSH_PUSHED_TEXT_WITH_URL = u"[pushed]({compare_url})"
PUSH_PUSHED_TEXT_WITHOUT_URL = u"pushed"