Re: why still no empty directory support in git
- From
Jeff King <peff@peff.net>
- Date
- Jan 1, 2009, 20:06 UTC
- Message-ID
- <20090101200651.GB6536@coredump.intra.peff.net>
- In-Reply-To
- <alpine.DEB.2.00.0812300346040.19911@vellum.laroia.net>
On Tue, Dec 30, 2008 at 03:58:46AM -0500, Asheesh Laroia wrote:
Show 8 quoted lines
> So, let's say I take your suggestion. > > $ touch ~/Maildir/new/.exists > $ git add ~/Maildir/new/.exists && git commit -m "La di da" > > Now a spec-compliant Maildir user agent will attempt to deliver this new > "email message" of zero bytes into the mail spool and assign it a message > UID. Doing so will remove it from Maildir/new.
No. The maildir spec says:
A unique name can be anything that doesn't contain a colon (or slash)
and doesn't start with a dot.
-- http://cr.yp.to/proto/maildir.htmlwhere a "unique name" is the filename used for a message. In practice, every maildir implementation I have seen ignores files starting with a dot. Do you have one that doesn't?
-Peff