Code

Authenticate only once in git-send-email
authorWincent Colaiuta <win@wincent.com>
Wed, 21 Nov 2007 12:35:05 +0000 (13:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Nov 2007 08:50:21 +0000 (00:50 -0800)
commit5f5b611805ed60a303ccbc07ebd9a5bac2dabb92
tree4d3a9f6c2c6a67be5c3133be701dbccb7f272352
parent060009b4191c5dcdec858f5ec3d16cad012859df
Authenticate only once in git-send-email

When using git-send-email with SMTP authentication sending a patch series
would redundantly authenticate multiple times, once for each patch. In
the worst case, this would actually prevent the series from being sent
because the server would reply with a "5.5.0 Already Authenticated"
status code which would derail the process.

This commit teaches git-send-email to authenticate once and only once at
the beginning of the series.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl