diff options
author | unknown <serg@serg.mysql.com> | 2001-03-05 10:33:05 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2001-03-05 10:33:05 +0100 |
commit | 6a4cff9493e4b918f7014fb81ae5f3aa5f5babb0 (patch) | |
tree | 4cb686ee689e4016b3b15ba12ccc3da11fd09d94 /BitKeeper | |
parent | 2ac92eb43c6d1c16ecb24529c5579739b2c352bb (diff) | |
download | mariadb-git-6a4cff9493e4b918f7014fb81ae5f3aa5f5babb0.tar.gz |
post-commit limit mail to 10,000 lines
BitKeeper/triggers/post-commit:
limit mail to 10,000 lines
Diffstat (limited to 'BitKeeper')
-rwxr-xr-x | BitKeeper/triggers/post-commit | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit index 424ef2c5225..b4b37742872 100755 --- a/BitKeeper/triggers/post-commit +++ b/BitKeeper/triggers/post-commit @@ -3,6 +3,7 @@ #shift TO=dev@mysql.com FROM=$USER@mysql.com +LIMIT=10000 BK_STATUS=$BK_STATUS$BK_COMMIT @@ -19,7 +20,7 @@ Subject: bk commit EOF bk changes -v -r+ bk cset -r+ -d - ) | /usr/sbin/sendmail -t + ) | head -n $LIMIT | /usr/sbin/sendmail -t else echo "commit failed because '$BK_STATUS', sorry life is hard..." fi |