summaryrefslogtreecommitdiff
path: root/git-bisect.sh
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-02-12 19:44:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-02-12 20:43:03 (GMT)
commit9caa70697b3b85eb11caaa5b5fd506baccfb0bac (patch)
treeff6267dbd25ce76fdd039f0302d9b61a8dc261b7 /git-bisect.sh
parent5453b83bdf92efbfe9e9aaa54d4c62ce48ced2f5 (diff)
downloadgit-9caa70697b3b85eb11caaa5b5fd506baccfb0bac.zip
git-9caa70697b3b85eb11caaa5b5fd506baccfb0bac.tar.gz
git-9caa70697b3b85eb11caaa5b5fd506baccfb0bac.tar.bz2
send-email: error out when relogin delay is missing
When the batch size is neither configured nor given on the command line, but the relogin delay is given, then the current code ignores the relogin delay setting. This is unsafe as there was some intention when setting the batch size. One workaround would be to just assume a batch size of 1 as a default. This however may be bad UX, as then the user may wonder why it is sending slowly without apparent batching. Error out for now instead of potentially confusing the user. As 5453b83bdf (send-email: --batch-size to work around some SMTP server limit, 2017-05-21) lays out, we rather want to not have this interface anyway and would rather want to react on the server throttling dynamically. Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-bisect.sh')
0 files changed, 0 insertions, 0 deletions