diff options
author | Tony Finch <dot@dotat.at> | 2014-08-01 09:15:52 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-25 15:21:05 -0700 |
commit | e0d8e3084f47189916e3b1d7bf138a4ab6227798 (patch) | |
tree | 5856f657cb3fea8a821d35f77068073c724afd26 /t/t7601-merge-pull-config.sh | |
parent | imap-send: clarify CRAM-MD5 vs LOGIN documentation (diff) | |
download | tgif-e0d8e3084f47189916e3b1d7bf138a4ab6227798.tar.xz |
imap-send: create target mailbox if it is missing
Some MUAs delete their "drafts" folder when it is empty, so
git imap-send should be able to create it if necessary.
This change checks that the folder exists immediately after
login and tries to create it if it is missing.
There was some vestigial code to handle a [TRYCREATE] response
from the server when an APPEND target is missing. However this
code never ran (the create and trycreate flags were never set)
and when I tried to make it run I found that the code had already
thrown away the contents of the message it was trying to append.
Signed-off-by: Tony Finch <dot@dotat.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7601-merge-pull-config.sh')
0 files changed, 0 insertions, 0 deletions