[PATCH v3] Re: git-am: fix maildir support regression: accept email file as patch
- From
- Nicolas Sebrecht <nicolas.s.dev@gmx.fr>
- Date
- Jul 16, 2009, 02:06 UTC
- Message-ID
- <20090716020632.GD12971@vidovic>
- In-Reply-To
- <20090716010001.GC12971@vidovic>
The 16/07/09, Nicolas Sebrecht wrote:
Show 6 quoted lines
> It is not about adding a new feature. It's about keeping compatibility > with maildir. The current version _rejects_ good patches. > > But, as it's very easy to move emails from a maildir _or_ have a symlink > which links to "maildir/cur" or whatever, we really should rely on the > content of the files.
Hum, it's not true.
Symlink as parameter didn't work before. So, it breaks things like:
$ git am symlink/*
$ git am directory/{anything relying on shell globbing}
$ git am patch1 patch2This was traditionally permitted even if git-am was not designed to. I wonder if we should add this feature as it could break end-user workflows.
-- Nicolas Sebrecht