Re: [PATCH 2/2] imap-send: create target mailbox if it is missing

2014-07-31 Thread Tony Finch
Junio C Hamano wrote: > > The basic idea looks good, but I have doubts on one point. Thanks for spotting the mistake in the error handling. I'll send an update with a fix. Tony. -- f.anthony.n.finchhttp://dotat.at/ South Utsire: Southwesterly 4 or 5, occasionally 6 at first in south, backin

Re: [PATCH 2/2] imap-send: create target mailbox if it is missing

2014-07-31 Thread Junio C Hamano
Tony Finch writes: > 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

[PATCH 2/2] imap-send: create target mailbox if it is missing

2014-07-31 Thread Tony Finch
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 se