mirror of https://github.com/zulip/zulip.git
Allow committing with dropbox.com email addresses.
Later we can remove the ability to commit with older emails. (imported from commit fe44cc1ffcc79f3c393e3a84c15741130605d3ec)
This commit is contained in:
parent
672603d6cd
commit
ddbb3a37fb
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
AUTHOR=$(git log -1 HEAD | grep ^Author | sed 's/Author: //')
|
||||
if ! $(echo "$AUTHOR" | egrep '(humbughq|zulip)\.com' >/dev/null); then
|
||||
if ! $(echo "$AUTHOR" | egrep '(humbughq|zulip|dropbox)\.com' >/dev/null); then
|
||||
echo -e "\e[0;91m Invalid non-Zulip commit author: $AUTHOR\e[0m"
|
||||
fi
|
||||
COMMITTER=$(git log -1 HEAD --pretty=fuller | grep ^Commit: | sed 's/Author: //')
|
||||
if ! $(echo "$COMMITTER" | egrep '(humbughq|zulip)\.com' >/dev/null); then
|
||||
if ! $(echo "$COMMITTER" | egrep '(humbughq|zulip|dropbox)\.com' >/dev/null); then
|
||||
echo -e "\e[0;91m Invalid non-Zulip committer: $COMMITTER\e[0m"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue